[postgis-tickets] [PostGIS] #2345: Postgis subbornly ignores specific instructions to link libraries like a child with severe ADHD

PostGIS trac at osgeo.org
Wed May 29 23:55:06 PDT 2013


#2345: Postgis subbornly ignores specific instructions to link libraries like a
child with severe ADHD
---------------------------------------------+------------------------------
 Reporter:  thx1138                          |       Owner:  strk         
     Type:  defect                           |      Status:  new          
 Priority:  high                             |   Milestone:  PostGIS 2.1.0
Component:  build/upgrade/install            |     Version:  trunk        
 Keywords:  compiler,rpath,shared libraries  |  
---------------------------------------------+------------------------------
Changes (by strk):

  * component:  postgis => build/upgrade/install


Comment:

 First of all this has nothing to do with liblwgeom, but only with libgeos
 not being found at runtime. I believe the correct way to deal with this is
 by setting LD_LIBRARY_PATH in the server environment, but I understand
 you'd prefer to embed an rpath into the postgis.so object.

 I've never felt any need for this so don't really know how to do it, but I
 guess your LDFLAGS should be respected. Can you check if the resulting
 link command still have the -rpath in ? Either in the output of "make"
 under postgis/ dir or within the Makefile itself.

 Also, I guess the _same_ issue you'll have with _any_ precedent PostGIS
 version, can you confirm ?

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2345#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list