• 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: Problem changing dynamic library install name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem changing dynamic library install name


  • Subject: Re: Problem changing dynamic library install name
  • From: Laurent Daudelin <email@hidden>
  • Date: Wed, 01 Jun 2011 16:59:28 -0700

Thanks, Ken, that did it. Must read more carefully next time, I guess...

-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin 				http://www.nemesys-soft.com/
Logiciels Nemesys Software					email@hidden

On Jun 1, 2011, at 16:45, Ken Thomases wrote:

> On Jun 1, 2011, at 6:39 PM, Laurent Daudelin wrote:
>
>> I've read about the topic of packaging dynamic libraries with an application and the issues. So, following some recommendations I found on the list archive, I'm trying to use install_name_tool to change the install name of the library I need. However, it doesn't seem like install_name_tool does anything. When I issue the command 'install_name_tool -add_rpath @executable/../Frameworks/icu/libicu.dylib libicu.dylib' and then check with otool -D, otool still reports the install name to be "libicu.dylib".
>
> The command you gave is for adding an rpath to the library, not for changing its install name.  To change its install name, you'd use a command like:
>
> install_name_tool -id @executable/../Frameworks/icu/libicu.dylib libicu.dylib
>
> Note the use of "-id", not "-add_rpath".
>
> Regards,
> Ken

 _______________________________________________
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

References: 
 >Problem changing dynamic library install name (From: Laurent Daudelin <email@hidden>)
 >Re: Problem changing dynamic library install name (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Problem changing dynamic library install name
  • Next by Date: Re: Editor tags in Xcode 4
  • Previous by thread: Re: Problem changing dynamic library install name
  • Next by thread: How to create a new template using Xcode 4 like a Navigation-Based Aplication?
  • Index(es):
    • Date
    • Thread