ports/123159: devel/nspr - Not properly linked to libraries

Edwin Groothuis edwin at mavetju.org
Mon Apr 28 04:00:13 UTC 2008


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list