[gdal-dev] Build OGR with Oracle support
Normand Savard
nsavard at mapgears.com
Fri Jun 19 11:15:28 EDT 2009
Andreas Neumann wrote:
> Hi,
>
> I was trying to get OCI support on my Ubuntu server and followed your
> instructions.
>
> I am struggling with the libnnz10.so: libnnz10.so is present and I also
> set the LD_LIBRARY_PATH accordingly.
>
> But the configure script still fails. In the config.log I get the
> following messages:
>
> ----------------
> /usr/bin/ld: warning: libnnz10.so, needed by
> /usr/local/lib/instantclient_10_2/libclntsh.so, not found (try using
> -rpath or -rpath-link)
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzos_ModifyCipherSuites'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzosCipherSpecToStr'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzos_Initialize'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzosgpc_GetProtocolVer'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nztwOpenWallet'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `A_X931RandomInit'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzosGetSupportedCipher'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzos_ServiceWriteQueue'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzos_DisableClientAuthentication'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nztiGetSecInfo'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzos_Write'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzduui2_destroy_ui'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `_intel_fast_memset'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nztGetSubjectName'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzgbllsm_location_shared_memory'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzos_setThrUse'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzteMyCert'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzteDestroyPersona'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzos_RetrievePersonaCopy'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzosSCCS_SetCRLCacheSize'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nztnGCL_Get_Certificate_List'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzos_setCRLFile'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `A_X931RandomContextDestroy'
> /usr/local/lib/instantclient_10_2/libclntsh.so: undefined reference to
> `nzos_OToolkitContext'
> ..............
> more messages ......
> ..............
> collect2: ld returned 1 exit status
> configure:24161: $? = 1
> configure: failed program was:
> |
> | /* confdefs.h. */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define STDC_HEADERS 1
>
> ..............
> more messages ......
> ..............
>
> ----------------
>
> Any idea why it can't find libnnz10.so despite it being present and the
> LD_LIBRARY_PATH set?
>
> Here are my configure-params:
> ./configure --with-python --with-perl --with-php --with-curl --with-expat
> --with-pg=/usr/local/pgsql/bin/pg_config --with-xerces
> --with-grass=/usr/local/grass-6.4.0RC2/
> --with-oci-include=/usr/local/lib/instantclient_10_2/sdk/include
> --with-oci-lib=/usr/local/lib/instantclient_10_2
>
>
Andreas,
Can you paste you LD_LIBRARY_PATH?
Norm
More information about the gdal-dev
mailing list