• 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
install_name_tool usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

install_name_tool usage


  • Subject: install_name_tool usage
  • From: Tobias Ford <email@hidden>
  • Date: Mon, 10 Jul 2006 20:13:01 -0500

I'm trying to get install_name_tool to work correctly so that I can get an application to use the fmod dynamic library. I'm doing something wrong and I'm stumped. The script phase below is running and not returning any errors, but the Application, when run, is looking for the lib @ /usr/local/lib/libfmodex.dylib.

mkdir "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks"
cp -f ../../external/library/fmod/lib/macosx/x86/libfmodex.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks/ libfmodex.dylib"
install_name_tool -change libfmodex.dylib @executable_path/../ Frameworks/libfmodex.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/ Contents/MacOS/Client"


Any one know what I may doing wrong?  Thanks.

-------------------
Tobias Ford...
tobias1482 'at' mac.com
tford 'at' spacetimestudios.com
-------------------
Sr Programmer @ space time studios for a generic space game mmo

"The Batman is Muhhammed Ali -- Jim Brown -- Shaft -- an' Super-Fly all rolled into one!" -- Batman #250 by Frank Robbins





_______________________________________________
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: install_name_tool usage
      • From: Nick Zitzmann <email@hidden>
References: 
 >Xcode on Developer DVD (From: David Dunham <email@hidden>)

  • Prev by Date: Re: Question about MD5
  • Next by Date: Re: install_name_tool usage
  • Previous by thread: Xcode on Developer DVD
  • Next by thread: Re: install_name_tool usage
  • Index(es):
    • Date
    • Thread