Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dylib statically linked to absolute path #2700

Closed
p6rt opened this issue Apr 5, 2012 · 2 comments
Closed

dylib statically linked to absolute path #2700

p6rt opened this issue Apr 5, 2012 · 2 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Apr 5, 2012

Migrated from rt.perl.org#112262 (status was 'new')

Searchable as RT112262$

@p6rt
Copy link
Author

p6rt commented Apr 5, 2012

From 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/

@p6rt p6rt added the build label Jan 5, 2020
@usev6
Copy link

usev6 commented Oct 7, 2023

I've stumbled upon this very old issue, that still refers to Parrot. I'll close this issue, since support for the Parrot backend has been dropped several years ago. (If the same kind of problem should still be relevant for MoarVM, a new issue should be opened over at https://github.com/rakudo/rakudo/issues or at https://github.com/rakudo/star/issues.)

@usev6 usev6 closed this as completed Oct 7, 2023
@usev6 usev6 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants