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:
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. Previous Comments: ------------------------------------------------------------------------ [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-21 03:01:18] [EMAIL PROTECTED] Duh..nevermind..you mentioned those in your first comment.. ------------------------------------------------------------------------ [2003-02-21 02:54:27] [EMAIL PROTECTED] Where is libocijdbc8 in your system? ------------------------------------------------------------------------ [2003-02-21 02:50:52] j dot lammerts at chello dot nl With all due respect, the "bad filenumber" bug has been fixed in CVS, but the first bug I mentioned hasn't. After configuration I still see in the debug.log that ld is not able to open library file -l ocijdbc8. Notice the space between -l and ocijdbc8. Might just be the way of AIX's ld to show things. The LIBS variable does look OK : .......-lld -lclntsh -locijdbc8 Could someone please look into this again ? Thank you. ------------------------------------------------------------------------ [2003-02-20 07:24:06] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22324 -- Edit this bug report at http://bugs.php.net/?id=22324&edit=1