Skip Menu |
Report information
Id: 112262
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: andrew.pennebaker [at] gmail.com
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: dylib statically linked to absolute path
Date: Thu, 5 Apr 2012 02:38:50 -0400
To: Rakudo Star <rakudobug [...] perl.org>
From: Andrew Pennebaker <andrew.pennebaker [...] gmail.com>
I downloaded, compiled, installed, and moved Rakudo. When I try to run perl6, it reports that it expected a dylib file in the build directory, instead of relative to perl6.

Trace:

$ wget https://github.com/downloads/rakudo/star/rakudo-star-2012.02.tar.gz
$ tar xvf rakudo-star-2012.02.tar.gz
$ cd rakudo-star-2012.02

$ perl Configure.pl --gen-parrot
$ make
$ make install

$ mv rakudo-star-2012.02 ~/
$ export PATH=$PATH:~/rakudo-star-2012.02/install/bin/perl6
$ which perl6
/Users/andrew/rakudo-star-2012.02/install/bin/perl6

$ perl6
dyld: Library not loaded: /Users/andrew/Downloads/rakudo-star-2012.02/install/lib/libparrot.dylib
  Referenced from: /Users/andrew/rakudo-star-2012.02/install/bin/perl6
  Reason: image not found
Trace/BPT trap: 5

Would it be too much trouble to instruct the builder to link to libparrot.dylib relative to the perl6 binary directory, rather than an absolute, hardcoded path? In the mean time, I'll just restart the process from the desired installation directory.

Cheers,

Andrew Pennebaker
http://www.yellosoft.us/


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

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org