Bug #2585: Error linking Oracle 7.3.2 libraries on SCO OpenServer 5.0.4
| From: | morandi at mi dot camcom dot it | Date: | Fri, 22 Oct 1999 08:04:28 +0000 |
| Subject: | Bug #2585: Error linking Oracle 7.3.2 libraries on SCO OpenServer 5.0.4 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11829@lists.php.net to get a copy of this message | ||
From: morandi@mi.camcom.it
Operating system:
PHP version: 3.0.12
PHP Bug Type: Compile Failure
Bug description: Error linking Oracle 7.3.2 libraries on SCO OpenServer 5.0.4
I find some problem linking PHP with Oracle 7.3.2 libraries on a SCO OpenServer 5.0.4. The problem
are on the detection of the Oracle version .
1) the istruction: ORACLE_VERSION=
grep '"ocommon"'
$ORACLEINST_TOP/orainst/unix.rgs | sed 's/ */:/g' | cut -d: -f 6 | cut -c 2-4
fails on "sed 's/ */:/g'". For resolve the problem i have forced on configure
the Oracle version.
2) configure detect a shared library, but the link istruction don't work. For resolve the
problem i have modified configure : if test -f $ORACLEINST_TOP/$ORACLE_LIBDIR/libclntsh.s? -a \
-f $ORACLEINST_TOP/$ORACLE_LIBDIR/libclntsh.a
for forcing to use ORACLE_STLIBS
3) the instuction of make install fail if the apache/src/modules/php3 directory exist!
Thank you and good work!