Bug #2842 Updated: Can't build PHP withe Oracle
| From: | sander@php.net | Date: | Sun, 16 Jun 2002 13:01:54 +0000 |
| Subject: | Bug #2842 Updated: Can't build PHP withe Oracle | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10733@lists.php.net to get a copy of this message | ||
ID: 2842
Updated by: sander@php.net
Reported By: mlemos@acm.org
-Status: Open
+Status: Bogus
Bug Type: Oracle related
Operating System: Linux 2.2.5-23cl
PHP Version: 3.0 Latest CVS (27/11/1999)
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[1999-11-27 06:26:15] mlemos@acm.org
I am trying to build either PHP 3 and PHP 4 as standalone executable
with
Oracle 8.1.5 Enterprise but I always get link errors. Despite it
outputs
warnings, it links successfully. But then it crashes with a
segmentation
fault when I run the PHP program.
I even have added $ORACLE_HOME/lib to /etc/ld.so.conf and run ldconfig
and
even set LD_LIBRARY_PATH to the same path.
Configure command link:
CFLAGS="-I/usr/local/include" LDFLAGS=
CUSTOM_ODBC_LIBS="-L/usr/local/lib -lodbc" ./configure --enable-sysvsem
--enable-sysvshm --with-xml=/usr/local --with-gd --with-mysql=/usr
--with-zlib=/usr --enable-debug=yes --enable-bcmath=yes
--with-msql=/usr/local/Hughes --with-oracle=/home/oracle/u01
--with-pgsql=/usr --with-zlib-dir=/usr --with-imap
--with-custom-odbc=/usr/local
Link errors from PHP 4 (similar to what I get from PHP 3):
/bin/sh ./libtool --mode=link gcc -I/usr/local/include -g -Wall -o
php -export-dynamic stub.o libphp4.la
gcc -I/usr/local/include -g -Wall -o php stub.o .libs/libphp4.a -ldl
-ldl -lm -lresolv -lnsl -lcrypt -lgdbm -lgd -L/usr/local/lib -lc-client
-L/usr/local/Hughes/lib -lmsql -L/usr/lib/mysql -lmysqlclient -lodbc
-L/home/oracle/u01/lib -lclntsh -lm -L/usr/lib/pgsql -lpq -lpam -lexpat
-lz -Wl,--export-dynamic -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/local/Hughes/lib -Wl,--rpath -Wl,/usr/lib/mysql -Wl,--rpath
-Wl,/usr/lib/pgsql -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/local/Hughes/lib -Wl,--rpath -Wl,/usr/lib/mysql -Wl,--rpath
-Wl,/usr/lib/pgsql
/usr/bin/ld: warning: type and size of dynamic symbol `ofetch' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `orol' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `oerhms' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `oclose' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `oexfet' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `olog' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `ocom' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `obndra' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `ocof' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `ologof' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `oopen' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `odefin' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `oflng' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `ocon' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `oexec' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `oparse' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `odescr' are not
defined
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=2842&edit=1