Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#34783 closed defect (fixed)

geda-gaf: gschem can't find libffi.5.dylib

Reported by: clirakis (Chris) Owned by: markemer (Mark Anderson)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: geda-gaf

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 (3)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to emer@…
Port: geda-gaf added
Summary: gschem, part of geda-gaf can't find libffi.5.dylibgeda-gaf: gschem can't find libffi.5.dylib

comment:2 in reply to:  description ; Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

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 years ago by clirakis (Chris)

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.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.

Note: See TracTickets for help on using tickets.