From owner-freebsd-ports Sun Dec 15 1:20: 5 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77DD537B401 for ; Sun, 15 Dec 2002 01:20:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A819543EC2 for ; Sun, 15 Dec 2002 01:20:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gBF9K2x3024380 for ; Sun, 15 Dec 2002 01:20:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBF9K2ZU024379; Sun, 15 Dec 2002 01:20:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E518737B401; Sun, 15 Dec 2002 01:16:33 -0800 (PST) Received: from helo.liwing.de (helo.liwing.de [213.70.188.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id D273943EC2; Sun, 15 Dec 2002 01:16:32 -0800 (PST) (envelope-from root@helo.liwing.de) Received: from helo.liwing.de (localhost.liwing.de [127.0.0.1]) by helo.liwing.de (8.12.6/8.12.5) with ESMTP id gBF9IDVY045661; Sun, 15 Dec 2002 09:18:13 GMT (envelope-from root@helo.liwing.de) Received: (from root@localhost) by helo.liwing.de (8.12.6/8.12.6/Submit) id gBF9IC9n045660; Sun, 15 Dec 2002 09:18:12 GMT Message-Id: <200212150918.gBF9IC9n045660@helo.liwing.de> Date: Sun, 15 Dec 2002 09:18:12 GMT From: Jens Rehsack Reply-To: Jens Rehsack To: FreeBSD-gnats-submit@FreeBSD.org Cc: Jens Rehsack , skv@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/46268: linker error in mod_php4 because missing -lstdc++ in textproc/sablotron Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 46268 >Category: ports >Synopsis: linker error in mod_php4 because missing -lstdc++ in textproc/sablotron >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 15 01:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jens Rehsack >Release: FreeBSD 5.0-RC i386 >Organization: LiWing IT-Services >Environment: System: FreeBSD hogthrob.muppets.liwing.de 5.0-RC FreeBSD 5.0-RC #3: Thu Dec 12 20:08:46 CET 2002 root@hogthrob.muppets.liwing.de:/usr/obj/usr/src/sys/HOGTHROB i386 not machine specific, but only fails on -CURRENT >Description: When I build www/mod_php4 including XSLT support through Sablot, the apache load fails, because Sablot.so.69 couldn't be loaded, because some symbols couldn't be resolved. The same happens during build already when I try to build lang/php4 with XSLT support using Sablotron. A fix is included, but it's not the solution. It seems, that either the c++ should add the information that this library is required, so even when cc is used to build a program that depends an this library the dynamic linker knows what to do (don't know if it's possible) >How-To-Repeat: Build lang/php4 with XSLT support on -CURRENT or www/mod_php4 with the same options. >Fix: --- sablot-make.diff begins here --- --- Makefile.orig Sat Dec 14 10:42:52 2002 +++ Makefile Sat Dec 14 11:16:05 2002 @@ -33,8 +33,8 @@ SHLIB_MAJOR= 69 # API changes counter PLIST_SUB+= SHLIB_MAJOR="${SHLIB_MAJOR}" DOCSDIR="share/doc/${PORTNAME}" -CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib \ - LIBTOOL=${LIBTOOL} +CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LIBTOOL=${LIBTOOL} \ + LDFLAGS="-L${LOCALBASE}/lib -lstdc++" USE_GMAKE= yes USE_AUTOMAKE= yes AUTOMAKE_ARGS= -a --- sablot-make.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message