ID: 22324
Updated by: [EMAIL PROTECTED]
Reported By: j dot lammerts at chello dot nl
Status: Closed
Bug Type: OCI8 related
Operating System: AIX 4.3.3
PHP Version: 4.3.2-dev
New Comment:
Heh..sometimes it's just plain magic? :)
Glad that this one got solved though.
(nothing was changed in that part of configure though)
Previous Comments:
------------------------------------------------------------------------
[2003-02-21 07:44:55] j dot lammerts at chello dot nl
<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,
Hans
------------------------------------------------------------------------
[2003-02-21 04:35:41] j dot lammerts at chello dot nl
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
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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