Skip Menu |
 

This queue is for tickets about the JSPL CPAN distribution.

Report information
The Basics
Id: 85568
Status: new
Priority: 0/
Queue: JSPL

People
Owner: Nobody in particular
Requestors: martin.cosgrave [...] aptosolutions.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Build fails on Ubuntu 13.04
Date: Thu, 23 May 2013 09:00:39 +0100
To: <bug-JSPL [...] rt.cpan.org>
From: Martin Cosgrave <martin.cosgrave [...] aptosolutions.co.uk>
Download (untitled) / with headers
text/plain 945b
Trying to build JSPL on Ubuntu 13.04, having installed libmozjs185-dev, got the error below, which I fixed by brute force editing the Makefile.PL and adding $libdirs .= " -ldl"; wherever I saw the phrase 'Will use'. This was the error: martian@optiplex:~/Downloads/JSPL-1.07$ perl Makefile.PL Found mozjs185 (1.8.5) Will use JS_LIBS="-lmozjs185 -lplds4 -lplc4 -lnspr4 " JS_INC="-I/usr/include/nspr -I/usr/include/js " JS_DEFINES=" -DXP_UNIX" Testing the environment... /usr/bin/ld: /tmp/ccWEjfx3.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5' /usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /lib/x86_64-linux-gnu/libdl.so.2 so try adding it to the linker command line /lib/x86_64-linux-gnu/libdl.so.2: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status Test compile failed, check JS_INC, JS_LIBS and JS_DEFINE for errors. Your package-config file 'mozjs185.pc' can be broken!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.