[postgis-tickets] [PostGIS] #3281: Avoid exporting symbols in the postgresql module

PostGIS trac at osgeo.org
Mon Sep 21 04:28:32 PDT 2015


#3281: Avoid exporting symbols in the postgresql module
---------------------+---------------------------
 Reporter:  strk     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 1.5.9
Component:  postgis  |    Version:  1.5.X
 Keywords:           |
---------------------+---------------------------
 Trying to use system-installed liblwgeom against an older PostGIS version
 I found that the presence of liblwgeom symbols embedded in the PostgreSQL
 module messes up usage of the external library.

 Passing `--exclude-libs ALL` to the linker when building postgis.so fixes
 this issue by avoiding those symbols (those from external libraries) to
 ever been seen outside of the module.

 I'm ticketing this because I'm not sure which systems do or do not support
 --exclude-libs flag.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3281>
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