Date: Sun, 15 Dec 2002 09:18:12 GMT From: Jens Rehsack <rehsack@liwing.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Jens Rehsack <rehsack@liwing.de>, skv@FreeBSD.org Subject: ports/46268: linker error in mod_php4 because missing -lstdc++ in textproc/sablotron Message-ID: <200212150918.gBF9IC9n045660@helo.liwing.de>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212150918.gBF9IC9n045660>