ID: 22324 User updated by: j dot lammerts at chello dot nl Reported By: j dot lammerts at chello dot nl -Status: Feedback +Status: Open Bug Type: OCI8 related Operating System: AIX 4.3.3 PHP Version: 4.3.2-dev New Comment:
You could be right that this is not the place where they are on other platforms. According to our DBA-er these libraries are installed by default in this directory when installing Oracle. At least, on AIX, that is. But am I wrong in assuming that, according to the gcc option line, libocijdbc8 is being searched for in the -L/sa/apps/oracle/product/8.1.7/lib directory (where it is) ?? Thanks Previous Comments: ------------------------------------------------------------------------ [2003-02-21 04:18:27] [EMAIL PROTECTED] Why exactly do you have those libocijdbc8.so and libocijdbc8_g.so in that directory? AFAIK, those should be under $ORA_HOME/jdbc/lib ------------------------------------------------------------------------ [2003-02-21 03:57:04] [EMAIL PROTECTED] The version is 4.3.2-dev as I assumed you tested the snapshot and thus the bug still exists in it. ------------------------------------------------------------------------ [2003-02-21 03:55:18] j dot lammerts at chello dot nl Thanks for your help so far, sniper. echo $ORACLE_HOME /sa/apps/oracle/product/8.1.7 echo $LIBPATH /sa/apps/oracle/product/8.1.7/lib echo $LD_LIBRARY_PATH /sa/apps/oracle/product/8.1.7/lib tail debug.log LIBS: -lttf -lX11 -lXpm -lpng -lz -ljpeg -lz -lm -ldl -lodm -lm -lbsd_r -lld -lclnt sh -locijdbc8 -ldl -lodm -lm -lbsd_r -lld -lclntsh DLIBS: SAPI: apache PHP_RPATHS: /usr/local/lib /sa/apps/oracle/product/8.1.7/lib uname -a: AIX fvlsaa1 3 4 0057379A4C00 gcc -o conftest -g -O2 -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DUS E_HSREGEX -DUSE_EXPAT -DAFPA -DNO_DL_NEEDED -L/usr/local/lib -L/usr/local/lib -L/sa/apps/ oracle/product/8.1.7/lib -L/sa/apps/oracle/product/8.1.7/lib conftest.c -lttf -lX11 -lXpm -lpng -lz -ljpeg -lz -lm -ldl -lodm -lm -lbsd_r -lld -lclntsh -locijdbc8 -ldl -lodm -lm - lbsd_r -lld -lclntsh 1>&5 ld: 0706-006 Cannot find or open library file: -l ocijdbc8 ld:open(): No such file or directory collect2: ld returned 255 exit status ls $LIBPATH/libocijdbc8* /sa/apps/oracle/product/8.1.7/lib/libocijdbc8.so /sa/apps/oracle/product/8.1.7/lib/libocijdbc8_g.so Still don't know what I'm doing wrong... By the way: the record shows me that I'm using 4.3.2-dev. Don't know how it got there, but I'm not.... I'm using version 4.3.1 Thanks. ------------------------------------------------------------------------ [2003-02-21 03:08:17] [EMAIL PROTECTED] Have you set the LIBPATH and LD_LIBRARY_PATH correctly as mentioned in the Oracle installation notes? To point to $ORACLE_HOME/lib ------------------------------------------------------------------------ [2003-02-20 04:37:18] j dot lammerts at chello dot nl When configuring PHP4.3.1 on AIX4.3.3 with Oracle 8.1.7 installed, I get the following error in debug.log : <snip> gcc -o conftest -g -O2 -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DUS E_HSREGEX -DUSE_EXPAT -DAFPA -DNO_DL_NEEDED -L/usr/local/lib -L/usr/local/lib -L/sa/apps/ oracle/product/8.1.7/lib -L/sa/apps/oracle/product/8.1.7/lib conftest.c -lttf -lX11 -lXpm -lpng -lz -ljpeg -lz -lcrypt -lm -lcrypt -ldl -lodm -lm -lbsd_r -lld -lclntsh -locijdbc8 1>&5 ld: 0706-006 Cannot find or open library file: -l ocijdbc8 ld:open(): No such file or directory collect2: ld returned 255 exit status </snip> In the $ORACLE_HOME/lib directory on this system, however, I have a libocijdbc8.so (and a libocijdbc8_g.so). Configuration is being done under the root user. Did not have any trouble getting PHP4.0.6 to compile against the same Oracle version. Any suggestions ? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22324&edit=1