From owner-freebsd-ports Mon Dec 16 11:49:23 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07E1537B404 for ; Mon, 16 Dec 2002 11:49:22 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8677F43EDA for ; Mon, 16 Dec 2002 11:49:19 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 38106 invoked from network); 16 Dec 2002 19:49:18 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 16 Dec 2002 19:49:18 -0000 Message-ID: <3DFE2E06.5090803@liwing.de> Date: Mon, 16 Dec 2002 20:48:22 +0100 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Patrick Li Cc: freebsd-ports@FreeBSD.org, dirk@FreeBSD.org, skv@FreeBSD.org Subject: Re: ports/46268: linker error in mod_php4 because missing -lstdc++ in textproc/sablotron References: <200212160229.gBG2TVEj050866@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 Patrick Li wrote: > Synopsis: linker error in mod_php4 because missing -lstdc++ in textproc/sablotron ^^^^^ > > Responsible-Changed-From-To: freebsd-ports->dirk > Responsible-Changed-By: pat > Responsible-Changed-When: Sun Dec 15 18:29:13 PST 2002 > Responsible-Changed-Why: > Over to maintainer > > http://www.freebsd.org/cgi/query-pr.cgi?pr=46268 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > > This should be over to skv@FreeBSD.org, because he is the maintainer of textproc/sablotron (AFAIK). The problem occures in www/mod_php4 but the error couldn't be solved there but in textproc/sablotron. I think much more, the real fix could only be in /usr/bin/c++ because it doesn't generate this library dependency by itself even it exists. libsablot.so uses c++ library calls like new[] and those requires the libstdc++ - c++ automatically adds them, cc doesn't. If you build a library using c++ and building an application using that library using cc, the linking information (dependency) for (let's say: libsablot.so.69) the c++ build library is missing and the link / load will fail. Maybe the solution is using STL in world instead of stdc++, but it's not the time discussing it now. I'm sure the core team is discussing that, but not before 5.0-RELEASE. But I think this patch for textproc/sablotron should be proved and applied, because running mod_php4 would be nice for 5.0-CURRENT. Jens -- L i W W W i Jens Rehsack L W W W L i W W W W i nnn gggg LiWing IT-Services L i W W W W i n n g g LLLL i W W i n n g g Friesenstraße 2 gggg 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message