Ticket #34783 (closed defect: fixed)
geda-gaf: gschem can't find libffi.5.dylib
| Reported by: | clirakis@… | Owned by: | emer@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.1.1 |
| Keywords: | Cc: | ryandesign@… | |
| Port: | geda-gaf |
Description (last modified by ryandesign@…) (diff)
uname gives:
Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
I did a port -s install geda-gaf which appeared to run fine. When I issue gschem on the command line I get the following error:
dyld: Library not loaded: /opt/local/lib/libffi.5.dylib Referenced from: /usr/local/bin/gschem Reason: image not found Trace/BPT trap: 5
Which is indeed true. I only have /opt/local/lib/libffi6.dylib. Since I did a -s I thought that this would force the source to recompile on my platform such that issues like this would not happen. What am I doing wrong?
Chris
Change History
comment:1 Changed 12 months ago by ryandesign@…
- Owner changed from macports-tickets@… to emer@…
- Description modified (diff)
- Port set to geda-gaf
- Summary changed from gschem, part of geda-gaf can't find libffi.5.dylib to geda-gaf: gschem can't find libffi.5.dylib
comment:2 in reply to: ↑ description ; follow-up: ↓ 3 Changed 12 months ago by ryandesign@…
- Cc ryandesign@… added
- Status changed from new to closed
- Resolution set to fixed
Replying to clirakis@…:
dyld: Library not loaded: /opt/local/lib/libffi.5.dylib
Thanks for letting us know that geda-gaf had a hidden dependency on libffi and thus needed a revision increase now that libffi has been updated. I've done this in r94020 and added an explicit libffi dependency so hopefully we won't forget to do this with future libffi updates.
Referenced from: /usr/local/bin/gschem
This is not provided by MacPorts. I recommend you remove it, and anything else you have in /usr/local, and just use software from MacPorts.
comment:3 in reply to: ↑ 2 Changed 12 months ago by clirakis@…
Thank you. And thanks for noticing the /usr/local/ I missed that!! Chris
Replying to ryandesign@…:
Replying to clirakis@…:
dyld: Library not loaded: /opt/local/lib/libffi.5.dylibThanks for letting us know that geda-gaf had a hidden dependency on libffi and thus needed a revision increase now that libffi has been updated. I've done this in r94020 and added an explicit libffi dependency so hopefully we won't forget to do this with future libffi updates.
Referenced from: /usr/local/bin/gschemThis is not provided by MacPorts. I recommend you remove it, and anything else you have in /usr/local, and just use software from MacPorts.

