• 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: Ken Thomases <email@hidden>
  • Date: Wed, 01 Jun 2011 18:45:04 -0500

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

  • Follow-Ups:
    • Re: Problem changing dynamic library install name
      • From: Laurent Daudelin <email@hidden>
References: 
 >Problem changing dynamic library install name (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Problem changing dynamic library install name
  • Next by Date: Re: Problem changing dynamic library install name
  • Previous by thread: Problem changing dynamic library install name
  • Next by thread: Re: Problem changing dynamic library install name
  • Index(es):
    • Date
    • Thread