#25005 [Opn]: php can not compile --with-oracle
ID: 25005
User updated by: phpnet at gal dot dk
Reported By: phpnet at gal dot dk
Status: Open
Bug Type: Oracle related
Operating System: FreeBSD 4.8-STABLE
PHP Version: 4.3.3RC3
New Comment:
The patch for the configure script can be inspected here:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php4/files/patch-configure
If necessary.
Previous Comments:
------------------------------------------------------------------------
[2003-08-11 09:50:12] phpnet at gal dot dk
./configure --with-oracle=/usr/local/oracle7
Same error with php4-STABLE-200308111330.
Please be advised that the ./configure line could only be successfully
completed with the patches for 4.3.3RC2 (within the ports collection)
applied to the configure script. Otherwise the configure script doesn't
acknowledge the Oracle7 libraries.
------------------------------------------------------------------------
[2003-08-10 21:43:45] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
And please use the command line ./configure...
If the snapshot fails, provide the full configure line you have used.
------------------------------------------------------------------------
[2003-08-10 15:42:10] phpnet at gal dot dk
Description:
------------
To compile php --with-oracle support, you have to install Oracle7
libraries on FreeBSD. This is done automatically from the
ports-system.. However with 4.3.3RC2 I can no longer get this to
compile. With 4.3.2 it works perfect.
Reproduce code:
---------------
The FreeBSD ports system generates this file after what I choose in the
pseudo-graphic menu-thing that helps me pick out php features.
WITH_CTYPE=yes
WITH_MYSQL=yes
WITH_ORACLE=yes
WITH_OVERLOAD=yes
WITH_PCRE=yes
WITH_POSIX=yes
WITH_SESSION=yes
WITH_TOKENIZER=yes
WITH_XML=yes
WITH_ZLIB=yes
I can leave just about anything out, except the WITH_ORACLE setting,
and the compile still fails.
Actual result:
--------------
/usr/local/oracle7/lib/libclient.a(upigem.o): In function 'upilem':
upigem.o(.text+0x454): undefined reference to '__wrap_sprintf'
upigem.o(.text+0x48e): undefined reference to '__wrap_sprintf'
/usr/local/oracle7/lib/lbibclient.a(upilog.o): In function ' upilgn':
upigem.o(.text+0x1136): undefined reference to __wrap_sprintf'
..
..
.. And then a million more just like them. All complaining aboyt
undefined references to __wrap-functions.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25005&edit=1
Thread (6 messages)