Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2008 13:56:17 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/123159: devel/nspr - Not properly linked to libraries
Message-ID:  <20080428035618.01AC1AD2@k7.mavetju>
Resent-Message-ID: <200804280400.m3S40D2J010176@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         123159
>Category:       ports
>Synopsis:       devel/nspr - Not properly linked to libraries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 28 04:00:13 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.3-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Sun Feb 17 22:11:52 EST 2008 edwin@k7.mavetju:/usr/src/sys/i386/compile/SMP i386

>Description:

I tried this script:

    use JavaScript::SpiderMonkey;

    my $js = JavaScript::SpiderMonkey->new();
 
    $js->init();
    $js->function_set("write", sub { print "@_\n"; });
    $js->eval("write('Foo');");

And I end up with:

    /libexec/ld-elf.so.1: /usr/X11R6/lib/libnspr4.so.1: Undefined symbol "pthread_condattr_init"

ldd of /usr/X11R6/lib/libnspr4.so.1 gives:

    [~/a] edwin@k7>ldd /usr/X11R6/lib/libnspr4.so.1
    /usr/X11R6/lib/libnspr4.so.1:


>How-To-Repeat:

Ports involved:
	devel/nspr
	lang/spidermonkey
	lang/p5-JavaScript-SpiderMonkey

>Fix:

no idea yet.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080428035618.01AC1AD2>