Helo,
how to configure oracle as a external dlr for the kannel ?
You may need to export a variable or use the system libsdb ?


2009/6/22 angela86 walczak <[email protected]>

> Solution ;/ so lame ;/
> I just use x32 lib on x64 centos, after install x64 oracle cli rpm all was
> OK.
>
> THX
>
> 2009/6/18 angela86 walczak <[email protected]>
>
>> 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}<http://10.2.0.4/client/lib:$%7BLD_LIBRARY_PATH%7D>
>> NLS_LANG=AMERICAN_AMERICA.UTF8
>> SQLPATH=/usr/lib/oracle/10.2.0.4/client/lib:${SQLPATH}<http://10.2.0.4/client/lib:$%7BSQLPATH%7D>
>> 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
>>
>>
>

Reply via email to