Re: How to make a program look for dylibs other than /usr/local/lib?
Re: How to make a program look for dylibs other than /usr/local/lib?
- Subject: Re: How to make a program look for dylibs other than /usr/local/lib?
- From: "parag vibhute" <email@hidden>
- Date: Tue, 11 Dec 2007 16:44:25 +0530
Thanks. Ya that worked for 10.4 OS.
But I would like to know does @execuable_path supports all 10.3+,10.4+ & 10.5+ OS?
& second question is what is exact meaning of "shared library identification name of a dynamic shared library" which is mentioned in man page of install_name_tool & what is different between shared library identification name & install name.
Thanks,
Palav
On Dec 11, 2007 4:02 PM, Alastair Houghton <
email@hidden> wrote:
On 10 Dec 2007, at 16:16, parag vibhute wrote:
> Alastair,
>
> I was incorrectly changed dynamic libarry as follows
> install_name_tool -change /usr/lib/opbx.dylib
opbx.dylib /Users/
> palav/libopbx.dylib
>
> But it should be as follows
> install_name_tool -change /usr/lib/libopbx.dylib opbx.dylib /Users/
> palav/test.app/Content/MacOS/test
>
> Thanks again,
> I will test this tomorrow in detail as it is 10 pm here & will reply
> u if get any questions. Thanks a lot.
Well, I was going to suggest that you actually change the dylib
itself, e.g.
install_name_tool -id @executable_path/../Frameworks/libopbx.dylib
then you add a Copy Files build phase to your project to copy the
libopbx.dylib file into your Frameworks folder.
This seems like by far the simplest solution.
--
There are many things in your life that will catch your eye but only a few will catch your heart....pursue those'.
_______________________________________________
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