Re: oracle 10g
Alexander Malysh <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
please post: ldd /usr/lib/oracle/10.2.0.4/client/lib/libclntsh.so Am 18.06.2009 um 16:23 schrieb angela86 walczak: > I have in /usr/lib/oracle/10.2.0.4/client/lib > > glogin.sql libclntsh.so libclntsh.so.10.1 libnnz10.so > libocci.so libocci.so.10.1 libociei.so libocijdbc10.so > libsqlplusic.so libsqlplus.so libsqora.so.10.1 ojdbc14.jar > > making view with mcedit of libclntsh.so.10.1 is ELF 32 bit and have > OCIEnvCreate. > > Does oracle have x64 OCL ? I can't find it. > > 2009/6/18 Alejandro Guerrieri <[email protected]> > 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 > [email protected] > > > > 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 <[email protected]> >> 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 >> [email protected] >> >> >> >> 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 >>> >> >> > >