Ticket #18917 (closed update: fixed)
parrot-1.0.0 version bump and dylib problem
| Reported by: | jdfrens@… | Owned by: | bfulgham@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | will@…, alakazam@… | |
| Port: | parrot |
Description
I've tweaked the existing Portfile for parrot-0.5.2 to install parrot-1.0.0. My new Portfile is attached, and it mostly works. The parrot executable fails to find the right dylib file (looking in the destroot, I believe):
$ parrot dyld: Library not loaded: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_parrot/work/parrot-1.0.0/blib/lib/libparrot.dylib Referenced from: /opt/local/bin/parrot Reason: image not found Trace/BPT trap
I can get it to work if I do this:
$ export DYLD_LIBRARY_PATH=/opt/local/lib/parrot/lib $ parrot parrot -[acEGhprtvVwy.] [-d [FLAGS]] [-D [FLAGS]][-O [level]] [-o FILE] <file>
Attachments
Change History
comment:1 Changed 4 years ago by macsforever2000@…
- Cc will@… added
- Owner changed from macports-tickets@… to bfulgham@…
comment:2 Changed 4 years ago by macsforever2000@…
- Milestone changed from Port Enhancements to Port Updates
comment:3 follow-up: ↓ 4 Changed 4 years ago by dluke@…
If it's too difficult to fix the build so that the correct path gets saved in the app (and/or the library), you should fix it in the port with install_name_tool
Changed 4 years ago by jdfrens@…
- Attachment parrot.diff added
diff from Portfile current in macports
comment:4 in reply to: ↑ 3 Changed 4 years ago by jdfrens@…
I used install_name_tool to get the parrot executable to find the right dylib, and so now the installed parrot works.
I updated the Portfile attachment, and I added a patch file from the Portfile in MacPorts to this new version.
comment:6 Changed 4 years ago by will@…
Thanks!
I took the version you had and modified it based on the updated (but still non-functional) version for 0.9.1 that was in the parrot repository.
The updated version for 1.0.0 is now at:
https://trac.parrot.org/parrot/browser/trunk/ports/macports/Portfile
And includes the installation of all the parrot utilities, modifying each as you did with install_name_tool (I updated that command to use the version'd library as well, just in case.)
Someone with commit bits, please update the official Portfile using the one from parrot.org, linked to above.
Woot!
comment:7 Changed 4 years ago by will@…
whoops. noticed that the old version you worked from also changed the description and the homepage back. Fixed those in r37746 of the parrot repository.
comment:11 Changed 4 years ago by macsforever2000@…
- Status changed from new to closed
- Resolution set to fixed
Committed in r48645. Let me know if the homepage and description need to be fixed - I wasn't clear on that.
comment:12 Changed 4 years ago by will@…
As mentioned on IRC, looks like you grabbed the right version. Thanks for the quick turnaround!
comment:14 Changed 4 years ago by anonymous
- Milestone Port Updates deleted
Milestone Port Updates deleted

