Re: Using a dylib without installing it
Re: Using a dylib without installing it
- Subject: Re: Using a dylib without installing it
- From: Dix Lorenz <email@hidden>
- Date: Wed, 11 Jul 2007 12:02:13 +0200
Hi,
thanks to everybody who replied:
Try this:
install_name_tool -change libchartdir.4.dylib @executable_path/../
Frameworks/libchartdir.4.dylib /Users/dlorenz/Development/Build
Products/Debug/CanvasViewer.app/Contents/MacOS/CanvasViewer
Assuming that you will put the library in the Frameworks folder
inside your application:
/Build Products/Debug/CanvasViewer.app/Contents/Frameworks
This works perfectly.
PS. This is maybe one of the more stupid things in Mac OS X. Why
the dylib loader don't look first in some well know location inside
the app bundle?
That's basically what I was expecting...
Thanks,
Dix
_______________________________________________
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