Subject: Undefined symbol "" when running program
To: None <port-sparc64@netbsd.org>
From: Tyler Spivey <tspivey@pcdesk.net>
List: port-sparc64
Date: 11/05/2006 21:01:47
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)
and in 4.0 beta I get
Fatal Error
when I try to run the program Here it is:
main(){}
put that into a file,
gcc file.c -ljs -L/usr/pkg/lib
run the file with LD_LIBRARY_PATH set, and I get the error. What can be
done?
Thanks,
Tyler