Subject: Re: Undefined symbol "" when running program
To: None <port-sparc64@netbsd.org>
From: Pierre Pronchery <khorben@defora.org>
List: port-sparc64
Date: 11/05/2006 22:23:16
Tyler Spivey wrote:
> When I try to link against libjs, included in lang/spidermonkey, with
> both netbsd 3.0.1, 3.1 and 4.0_beta200610260000Z, I get (in 3.x case)
> /usr/pkg/lib/libjs.so: Undefined symbol "" (symnum = 6)

Can you check if libjs.so was compiled with -fPIC?
This gave me headaches for months :(((

HTH,
-- 
khorben