[MacPorts] #37389: Incorrect dylib path

MacPorts noreply at macports.org
Tue Dec 25 20:25:43 PST 2012

#37389: Incorrect dylib path
 Reporter:  brad.clemetson@…  |      Owner:  macports-tickets@…
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.1.2
 Keywords:  dylib             |       Port:  toluapp
 It seems that when I made the port I didn't set the dylib link path
 properly. So after you install the toluapp port, your application will be
 compiled and linked; but once you attempted to load the executable it
 produces the following error.

 BRMP:build brad$ ./stratagus
 dyld: Library not loaded: @executable_path/../lib/libtoluapp.dylib
   Referenced from: /Users/brad/dev/strata/engine/build/./stratagus
   Reason: image not found
 Trace/BPT trap: 5

 From what I read online it is a change I need to make a change in the
 final link path during the installation of the library. Any suggestions on
 how I should do that?
 Thank You

Ticket URL: <https://trac.macports.org/ticket/37389>
MacPorts <http://www.macports.org/>
Ports system for Mac OS

More information about the macports-tickets mailing list