From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 11 08:40:20 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0F7216A4CE for ; Mon, 11 Apr 2005 08:40:20 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C23A43D54 for ; Mon, 11 Apr 2005 08:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3B8eKZw072186 for ; Mon, 11 Apr 2005 08:40:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3B8eKcD072184; Mon, 11 Apr 2005 08:40:20 GMT (envelope-from gnats) Resent-Date: Mon, 11 Apr 2005 08:40:20 GMT Resent-Message-Id: <200504110840.j3B8eKcD072184@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, dirk.meyer@dinoex.sub.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E0F416A4CE for ; Mon, 11 Apr 2005 08:33:10 +0000 (GMT) Received: from uucp.dinoex.sub.de (uucp.dinoex.sub.de [194.45.71.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B909843D5A for ; Mon, 11 Apr 2005 08:33:08 +0000 (GMT) (envelope-from dm@home.dinoex.sub.de) Received: from home.dinoex.sub.de (dm@home.dinoex.sub.de [194.45.71.22]) by uucp.dinoex.sub.de (8.13.3/8.13.3) with ESMTP id j3B8Wons025752 for ; Mon, 11 Apr 2005 10:32:50 +0200 (CEST) (envelope-from dm@home.dinoex.sub.de) Received: (from dm@localhost) by home.dinoex.sub.de (8.13.3/8.13.1/Submit) id j3B8WqAj092731; Mon, 11 Apr 2005 10:32:53 +0200 (CEST) (envelope-from dm) Message-Id: <200504110832.j3B8WqAj092731@home.dinoex.sub.de> Date: Mon, 11 Apr 2005 10:32:53 +0200 (CEST) From: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/79782: ports/Mk/bsd.php.mk 1.15 breaks oracle X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dirk.meyer@dinoex.sub.org List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 08:40:20 -0000 >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: