Ticket #344 (closed bug: fixed)
Can't create working installed parrot for macports
Reported by: | coke | Owned by: | jkeenan |
---|---|---|---|
Priority: | major | Milestone: | 1.1 |
Component: | install | Version: | |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | applied | Platform: | mac |
Description
As 0.9.1 is due shortly, I'm trying to create a macport for 0.9.0
Using the port file template in r36803, parrot builds, and installs, but fails at runtime due to a linking problem.
$ which parrot /opt/local/bin/parrot $ ls -l /opt/local/bin/parrot lrwxr-xr-x 1 root admin 32 Feb 16 18:10 /opt/local/bin/parrot -> /opt/local/lib/parrot/bin/parrot $ parrot -h dyld: Library not loaded: /opt/local/var/macports/build/_Users_coke_research_macports_lang_parrot/work/parrot-0.9.0/blib/lib/libparrot.dylib Referenced from: /opt/local/bin/parrot Reason: image not found Trace/BPT trap $ otool -arch all -L /opt/local/bin/parrot /opt/local/bin/parrot: /opt/local/var/macports/build/_Users_coke_research_macports_lang_parrot/work/parrot-0.9.0/blib/lib/libparrot.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.11) /opt/local/lib/libicuuc.40.dylib (compatibility version 40.0.0, current version 40.0.0) /opt/local/lib/libicudata.40.dylib (compatibility version 40.0.0, current version 40.0.0) /opt/local/lib/libgmp.3.dylib (compatibility version 8.0.0, current version 8.4.0) /opt/local/lib/libreadline.5.2.dylib (compatibility version 5.0.0, current version 5.2.0) /opt/local/lib/libpcre.0.dylib (compatibility version 1.0.0, current version 1.1.0) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/GLUT.framework/Versions/A/GLUT (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8) /opt/local/lib/libintl.8.dylib (compatibility version 9.0.0, current version 9.2.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
So the installed version is built with a dependancy on the build directory.
If, when I install the port, I keep the build directory around (and then parrot runs, but only because the dynlib is in the build directory still) I see that the otool output for the 'parrot' and 'intallable_parrot' in the work build directory are identical.
Any suggestions?
Change History
Note: See
TracTickets for help on using
tickets.