|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-02-20 04:37 UTC] 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 ?
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 07:00:02 2025 UTC |
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.<joy> Don't know what happened, or what the difference was with my previous CVS snapshot, but with the latest CVS I was able to bring the configure process to a good end... </joy> <sadness> When invoking make, the compilation aborts when trying to compile gdttf.c ;{ Made a new bugreport for this one </sadness> Thanks for your help on this one, HansWhen trying to configure the latest CVS I ran into the same problem again that the linker could not find ocijdbc8: ld: 0706-006 Cannot find or open library file: -l ocijdbc8 ld:open(): No such file or directory collect2: ld returned 255 exit status Still had the 21 feb CVS. I can configure this one without any problems, even without setting the variables ORACLE_HOME, LIBPATH and LD_LIBRARY_PATH ! I'm completely at a loss now, HEEELP !! Thank youSame here for me. I've tried t oput libocijdbc8.so in different place without any success. here is my debug.log: LIBS: -lcrypt -lm -lcrypt -ldl -lodm -lm -lbsd_r -lld -lclntsh -locijdbc8 -ldl -lodm -lm -lbsd_r -lld -lclntshDLIBS: SAPI: apache PHP_RPATHS: /ora01/app/oracle/product/8.1.7/lib uname -a: AIX bicsx30 3 4 000674514C00 cc -o conftest -g -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DMOD_SSL=208112 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -R/ora01/app/oracle/product/8.1.7/lib -L/ora01/app/oracle/product/8.1.7/lib conftest.c -lcrypt -lm -lcrypt -ldl -lodm -lm -lbsd_r -lld -lclntsh -locijdbc8 -ldl -lodm -lm -lbsd_r -lld -lclntsh 1>&5 ld: 0706-027 The -R /ora01/app/oracle/product/8.1.7/lib flag is ignored. ld: 0706-006 Cannot find or open library file: -l ocijdbc8 ld:open(): No such file or directory