[gdal-dev] Fwd: Configure error with Oracle instantclient 11.2.0.3

Luca Fibbi fibbi at lamma.rete.toscana.it
Fri Apr 27 06:09:22 EDT 2012


There has been a change to the build tools in ubuntu 11.10 The “–as-needed”
flag is now passed to the linker. This primarily has implications for
dynamic library linking but it also affects the order that libraries appear
on the command line even for static linking.
I solved the problem by exporting the following environment variable before
running configure:
LDFLAGS = "-Wl, - no-as-needed"
But they are not able to fully understand the reasons why the functions
which appear undefined and OCIEnvCreate OCIHandleFree are defined in $
ORACLE_HOME / lib / libclntsh.so as seen by running the following command:

$ nm $ ORACLE_HOME / lib / libclntsh.so | grep-E "OCIEnvCreate |
OCIHandleFree"
000000000044817e T OCIEnvCreate
00000000004481f6 T OCIHandleFree


Best regards

Luca

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/gdal-dev-Configure-error-with-Oracle-instantclient-11-2-0-3-tp4889509p4933492.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list