ID:               22324
 User updated by:  j dot lammerts at chello dot nl
 Reported By:      j dot lammerts at chello dot nl
-Status:           Open
+Status:           Closed
 Bug Type:         OCI8 related
 Operating System: AIX 4.3.3
 PHP Version:      4.3.2-dev
 New Comment:

<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


Previous Comments:
------------------------------------------------------------------------

[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.

------------------------------------------------------------------------

[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


------------------------------------------------------------------------

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

Reply via email to