Subject: Re: undefined references to libm functions in spidermonkey
To: Blair Sadewitz <>
From: Juan RP <>
List: tech-pkg
Date: 12/05/2006 17:32:02
On Tuesday 05 December 2006 17:21, Blair Sadewitz wrote:
> I'm trying to build elinks with spidermonkey; this presented no
> problem last week or so.  However, now I can't because when elinks
> links (no pun intended) against spidermonkey, it complains about
> undefined references to tan, cos, etc.  According to in
> spidermonkey, it should be linked with -lm, though when I check libjs
> with ldd, libm is not mentioned.  I am going to look at this further
> when I have time, but does anyone know what's going on here?

Try updating lang/spidermonkey with cvs and make install again.

You'll need 1.5nb7 for linked with libm... good luck.

Juan RP's blog - NetBSD/pkgsrc news in Spanish