Subject: Re: Problem with textproc/sablotron
To: Eric Delcamp <e.delcamp@wanadoo.fr>
From: Johnny C. Lam <jlam@netbsd.org>
List: tech-pkg
Date: 06/14/2002 21:41:21
On Fri, Jun 14, 2002 at 04:14:51PM +0200, Eric Delcamp wrote:
> NetBSD 1.5.2 (i386), apache-1.3.20, libiconv-1.7nb2, expat-1.95.2,
> sablotron-0.71
>
[snip]
> 
> apachectl configtest
> Syntax error on line 215 of /usr/pkg/etc/httpd/httpd.conf:
> Cannot load /usr/pkg/lib/httpd/mod_xslt.so into server:
> /usr/pkg/lib/libsablot.s
> o.71: Undefined PLT symbol "__builtin_new" (reloc type = 7, symnum = 10)
> 
> If I uncomment LoadFile lib/libsablot.so :
> apachectl configtest
> Syntax error on line 214 of /usr/pkg/etc/httpd/httpd.conf:
> Cannot load lib/libsablot.so into server:/usr/pkg/lib/libsablot.so:
> Undefined PL
> T symbol "__builtin_new" (reloc type = 7, symnum = 10)
> 
> any idea ?

You should update your apache to at least 1.3.20nb1.  Building the latest
apache (1.3.24) should be fine.  These later versions will explicitly
link the entirety of libgcc.a into apache and should allow those C++
symbols to resolve correctly.

	Cheers,

	-- Johnny Lam <jlam@netbsd.org>