Select to view content in your preferred language

Linux .so exposes symbols that conflict with other Esri libraries

3885
0
07-07-2015 02:25 PM
RavenKopelman
Deactivated User

libFileGDBApi.so contains many pe_* symbols which are also found in libpe.so (ArcSDE)

libFileGDBApi.so contains many symbols from zlib (ie: gzopen) (which are also found in libsde.so, another ArcSDE library)

These symbol name conflicts can result in undefined behavior when both .so's are loaded by the same process.

I recommend using the gcc flag -fvisibility=hidden to hide symbols by default.

Linking dynamically against zlib would also be preferred, as it will allow security updates through the normal package manager mechanism.

Tags (1)
0 Kudos
0 Replies