[gdal-dev] Fwd: Configure error with Oracle instantclient 11.2.0.3
Stefano Iacovella
stefano.iacovella at gmail.com
Fri Apr 27 09:29:21 EDT 2012
Thank you Luca
the setting you suggested actually solved my issue.
export LDFLAGS="-Wl,--no-as-needed"
./configure
I succeded compiling 1.9.0 with OCI support using the Instantclient.
Regards
Stefano
2012/4/27 Luca Fibbi <fibbi at lamma.rete.toscana.it>:
> 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.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list