[GRASS-dev] [GRASS GIS] #1757: LD_SEARCH_FLAGS incorrect for NetBSD

GRASS GIS trac at osgeo.org
Thu Mar 21 13:43:19 PDT 2013


#1757: LD_SEARCH_FLAGS incorrect for NetBSD
-------------------------+--------------------------------------------------
 Reporter:  brook        |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  critical     |   Milestone:  7.0.0                    
Component:  Default      |     Version:  svn-trunk                
 Keywords:               |    Platform:  Other Unix               
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by glynn):

 Replying to [comment:3 mmetz]:
 > Replying to [comment:2 glynn]:
 > > 7.0 doesn't support any BSD systems yet. New platforms need to be
 added by people who actually have access to (and preferably knowledge of)
 the platform in question.

 > However, I do not get 7.0 compiled on NetBSD 6.0.1, the error is
 >
 {{{
 ld: unrecognized option '-Wl,-rpath,/home/metz/src/grass-7.0.svn/dist.i386
 -unknown-netbsdelf6.0.1/lib'
 }}}

 Do NetBSD shared libraries support rpath? If not, the linker probably
 won't accept the switch.

 Also, -rpath is bad, as it hard-codes library paths, overriding
 LD_LIBRARY_PATH (and it will probably result in hard-coding the build
 directory into the installed binaries). -rpath-link is preferable, as that
 just sets the path for dependency checking without storing it in the
 binary.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1757#comment:4>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list