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

Owner: Nobody
Requestors: andrew.pennebaker [at]

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 [...]>
From: Andrew Pennebaker <andrew.pennebaker [...]>
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.


$ wget
$ tar xvf rakudo-star-2012.02.tar.gz
$ cd rakudo-star-2012.02

$ perl --gen-parrot
$ make
$ make install

$ mv rakudo-star-2012.02 ~/
$ export PATH=$PATH:~/rakudo-star-2012.02/install/bin/perl6
$ which 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.


Andrew Pennebaker

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

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