ID: 19340 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: OCI8 related Operating System: SuSE Linux 7.3 PHP Version: 4.2.3 New Comment:
Thanks for your information. I use a 32 bits environment, so i have to use the .../lib, it´s ok. I changed the configure script as below, changed the symbolic link from .../lib/libclntsh.so to a real copy of the .../lib/libclntsh.so file, and now the compilation runs without any errors. The error was the symbolic link of the .so file.... Thanks to all Previous Comments: ------------------------------------------------------------------------ [2002-09-17 04:22:35] [EMAIL PROTECTED] Same problem with me. I have discovered two problems with OCI8 and Oracle 9.2: 1. 32/64 bits environment ? You have to use .../lib or .../lib32 libraries. 2. Bug in the configure file (initially the bug is ext/oci8/config.m4) I finally get a correct installation by doing the following changes in the configure file: if test -s "$OCI8_DIR/orainst/unix.rgs"; then replaced by: if test -s "$OCI8_DIR/install/unix.rgs"; then OCI8_VERSION=`grep '"ocommon"' $OCI8_DIR/orainst/unix.rgs | sed 's/ */:/g' | cut -d: -f 6 | cut -c 2-4` replaced by: OCI8_VERSION=`grep rdbms $OCI8_DIR/install/unix.rgs |sed 's/ */:/g' | cut -d: -f 2| cut -c 1-3` 8.1|9.0) replaced by: 8.1|9.0|9.1|9.2) and for my own environment (AIX): OCI8_DIR/lib changed to OCI8_DIR/lib32 OCI8_DIR/rdbms/lib changed to OCI8_DIR/rdbms/lib32 I hope this can help you. ------------------------------------------------------------------------ [2002-09-11 09:56:21] [EMAIL PROTECTED] Oracle Development Kit 9.2.0.1.0 ist installed. There is no clntsh.so installed but I found /oracle/product/901/lib/libclntsh.so and /oracle/product/901/bin/genclntsh The path /oracle/product/901/lib/ is set correctly in the LD_LIBRARY_PATH ------------------------------------------------------------------------ [2002-09-10 17:03:58] [EMAIL PROTECTED] Did you install oracle development tools? Could you try locating clntsh.so on your system? ------------------------------------------------------------------------ [2002-09-10 12:36:41] [EMAIL PROTECTED] Thanks for the information. So, I tried to compile this version with the same configure params, but now it fails soon to configure with "libpng not found!" I think, this problem based on the combination with the pdf-lib. ------------------------------------------------------------------------ [2002-09-10 12:07:13] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ 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/19340 -- Edit this bug report at http://bugs.php.net/?id=19340&edit=1