id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 6860,libgdal.so exposes symbols from libshapefile,pnicolas,warmerdam,"In our Linux application we use both gdal and [http://shapelib.maptools.org/ shapelib], compiled as a shared library (.so). Gdal internally uses shapelib as well and exposes the symbols. If we do not pay attention to the order of parameters in the linking phase, functions like SHPOpen will link to libgdal.so instead of libshp.so. This can be solved by adding -fvisibility=hidden to CPPFLAGS in ogr/ogrsf_frmts/shape/GNUmakefile without fsivility flag: global symbol {{{ nm gdal.so | grep 'SHPOpen$' 0000000000bb82af T SHPOpen }}} with fsivility flag: local symbol {{{ nm gdal.so | grep 'SHPOpen$' 0000000000bb3cd3 t SHPOpen }}}",enhancement,closed,normal,2.2.0,default,unspecified,normal,fixed,,