Date: Mon, 11 Apr 2005 10:32:53 +0200 (CEST) From: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/79782: ports/Mk/bsd.php.mk 1.15 breaks oracle Message-ID: <200504110832.j3B8WqAj092731@home.dinoex.sub.de> Resent-Message-ID: <200504110840.j3B8eKcD072184@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 79782 >Category: ports >Synopsis: ports/Mk/bsd.php.mk 1.15 breaks oracle >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 11 08:40:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Dirk Meyer >Release: FreeBSD 4.11 i386 >Organization: privat >Environment: package installed: oracle7-client-0.02.tgz, mod_php4-4.3.11,1.tgz >Description: After buill and install, php can't load the extension. PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/20020429/oracle.so' - /usr/local/lib/php/20020429/oracle.so: Undefined symbol "nscontrol" in Unknown on line 0 old package php4-oracle-4.3.10_2 was okay. -r--r--r-- 1 root wheel 2126950 Apr 4 07:36 ok/lib/php/20020429/oracle.so new package php4-oracle-4.3.11 wasn not loadable. -r--r--r-- 1 root wheel 519817 Apr 6 06:17 1/lib/php/20020429/oracle.so recompiled old package php4-oracle-4.3.10_2 was not loadable. -r--r--r-- 1 root wheel 519817 Apr 11 09:37 2/lib/php/20020429/oracle.so The oracle.so has not all required statis libs included. link comamnd line which creates the broken oracle.lo: cc -shared oracle.lo -Wl,--rpath -Wl,/usr/local/oracle7/lib -L/usr/local/oracle7/lib -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lc3v6 -lnlsrtl3 -lcore3 -lwrap -Wl,-soname -Wl,oracle.so -o ./.libs/oracle.so link comamnd line which creates an valid oracle.lo: cc -shared -Wl,--rpath -Wl,/image/usr/ports/current/php4-oracle/work/php-4.3.10/ext/oracle/modules -Wl,--rpath -Wl,/usr/local/oracle7/lib oracle.lo -L/usr/local/oracle7/lib -lclient -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lwrap -lcore3 -lwrap -Wl,-soname -Wl,oracle.so -o ./.libs/oracle.so >How-To-Repeat: build in /usr/ports/databases/php4-oracle check sizes of shared object, or try to load it. >Fix: Add this line: USE_LIBTOOL_VER= 13 Either add that line to ports/Mk/bsd.php.mk or to ports/databases/php4-oracle/Makefile I have not checked how much other ports have been affected by the change in bsd.php.mk. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504110832.j3B8WqAj092731>