oracle 10g
Alejandro Guerrieri
aguerrieri at kannel.org
Thu Jun 18 16:10:11 CEST 2009
No, sorry, DYLD_LIBRARY_PATH is the OSX version of LD_LIBRARY_PATH.
The code fails here:
dnl Check for Oracle 10g instant client
AC_CHECK_LIB(clntsh,OCIEnvCreate,[ LIBS="$LIBS -lclntsh" ],
AC_CHECK_LIB(clntsh,OCIEnvCreate,[ LIBS="$LIBS -lclntsh -
lnnz10" ],exit)
)
The AC_CHECK_LIB macro fails. Those macros usually work by trying to
compile a small piece of code invoking the library. Can you confirm
your clntsh lib has the OCIEnvCreate function?
Regards,
--
Alejandro Guerrieri
aguerrieri at kannel.org
On 18/06/2009, at 15:59, angela86 walczak wrote:
> Do I need more environment variable ?
>
> env | grep oracl
> LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.4/client/lib:
> SQLPATH=/usr/lib/oracle/10.2.0.4/client/lib:
> ORACLE_HOME=/usr/lib/oracle/10.2.0.4
>
> Does anyone build kannel with oracle 10g ?
>
> 2009/6/18 Alejandro Guerrieri <aguerrieri at kannel.org>
> Not sure if this would solve it, but anyway:
>
> Check if you have the ORACLE_HOME environment variable pointing to
> your Oracle install, and DYLD_LIBRARY_PATH pointing to $ORACLE_HOME/
> lib.
>
> Regards,
> --
> Alejandro Guerrieri
> aguerrieri at kannel.org
>
>
>
> On 18/06/2009, at 15:41, angela86 walczak wrote:
>
>> Helo to all
>>
>> I use last kannel and Centos 5.2 x64, Oracle 10.2.0.4
>>
>> my RPM
>>
>> oracle-instantclient-basic-10.2.0.4-1.i386.rpm oracle-
>> instantclient-devel-10.2.0.4-1.i386.rpm oracle-instantclient-
>> odbc-10.2.0.4-1.i386.rpm oracle-instantclient-
>> sqlplus-10.2.0.4-1.i386.rpm
>>
>> my env
>>
>> LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.4/client/lib:$
>> {LD_LIBRARY_PATH}
>> NLS_LANG=AMERICAN_AMERICA.UTF8
>> SQLPATH=/usr/lib/oracle/10.2.0.4/client/lib:${SQLPATH}
>> export LD_LIBRARY_PATH NLS_LANG SQLPATH
>> ORACLE_HOME=/usr/lib/oracle/10.2.0.4
>> export ORACLE_HOME
>>
>> and now I try to configure
>>
>> ./configure --with-oracle --with-oracle-includes=/usr/include/
>> oracle/10.2.0.4/client --with-oracle-libs=/usr/lib/oracle/10.2.0.4/
>> client/lib --enable-ssl --enable-start-stop-daemon --enable-debug
>>
>> checking whether to compile with Oracle support... searching
>> checking for oci.h ... yes
>> checking for OCIEnvCreate in -lclntsh... no
>> checking for OCIEnvCreate in -lclntsh... (cached) no
>>
>> I know issue "Kannel - Bug # 368: Unable to Configure and Compile
>> with Oracle 10g for DLR"
>> In ldconfig I have lib
>>
>> ldconfig -p | grep oracl
>> libsqora.so.10.1 (libc6) => /usr/lib/oracle/10.2.0.4/client/
>> lib/libsqora.so.10.1
>> libsqlplusic.so (libc6) => /usr/lib/oracle/10.2.0.4/client/
>> lib/libsqlplusic.so
>> libsqlplus.so (libc6) => /usr/lib/oracle/10.2.0.4/client/
>> lib/libsqlplus.so
>> libocijdbc10.so (libc6) => /usr/lib/oracle/10.2.0.4/client/
>> lib/libocijdbc10.so
>> libociei.so (libc6) => /usr/lib/oracle/10.2.0.4/client/lib/
>> libociei.so
>> libocci.so.10.1 (libc6) => /usr/lib/oracle/10.2.0.4/client/
>> lib/libocci.so.10.1
>> libocci.so (libc6) => /usr/lib/oracle/10.2.0.4/client/lib/
>> libocci.so
>> libnnz10.so (libc6) => /usr/lib/oracle/10.2.0.4/client/lib/
>> libnnz10.so
>> libclntsh.so.10.1 (libc6) => /usr/lib/oracle/10.2.0.4/
>> client/lib/libclntsh.so.10.1
>> libclntsh.so (libc6) => /usr/lib/oracle/10.2.0.4/client/lib/
>> libclntsh.so
>>
>>
>> Big THX 4 any help
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.kannel.org/pipermail/devel/attachments/20090618/eb7c4a07/attachment.html>
More information about the devel
mailing list