• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: dylib in non-standard location
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dylib in non-standard location


  • Subject: Re: dylib in non-standard location
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 25 Aug 2005 21:23:06 -0600


On Aug 25, 2005, at 2:03 PM, Stefan Werner wrote:

This is what I appended to my custom linker settings:
-dylib_file /usr/local/lib/thelib.dylib:@executable_path/../ Frameworks/thelib.dylib


But when I launch the application after building it, it refuses to launch because it can't find /usr/local/lib/thelib.dylib. What am I missing?

Try using the install_name_tool program... I've never heard of the - dylib_file option before, but install_name_tool ought to work. It also helps to pass the -headerpad_max_install_names option to the linker when building the dylib, if that's possible.


Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: dylib in non-standard location
      • From: "Peter O'Gorman" <email@hidden>
References: 
 >dylib in non-standard location (From: Stefan Werner <email@hidden>)

  • Prev by Date: Re: Adding Resource Bundles
  • Next by Date: Re: duplicate a target?
  • Previous by thread: dylib in non-standard location
  • Next by thread: Re: dylib in non-standard location
  • Index(es):
    • Date
    • Thread