Re: Dylib Dependencies (again)
Re: Dylib Dependencies (again)
- Subject: Re: Dylib Dependencies (again)
- From: Greg Guerin <email@hidden>
- Date: Fri, 8 Jun 2007 10:33:56 -0700
Dave wrote:
>Which shows the correct dependency file path for the Bundle File
>(@loader_path/../../../../DynamicLibraries/libfpacore2_uni.dylib). If
>I run this on a PowerPC the Bundle and the 3rd party library work ok.
>
>I copied it onto an intel machine and it failed to load. When I
>looked at the path with otool, the file path had not been set
>correctly or rather had been left unchanged.
First, thanks for posting all the output. It helped clarify things a lot.
It also confirmed that install_name_tool isbehaves the same on your machine
as on mine: it sets the names of all sub-libs in a fat lib-file.
What I'd like to see next, please, is the output of this cmd:
otool -L -arch all FPALibrary
I can see from your posted output that the ppc version of the lib is
correct, as you explained. However, if you're still not getting it to work
on i386, you can use the '-arch all' option with -L to inspect the i386
names, even though the bundle is still on the PPC box. It's not necessary
to transfer files to the Intel-based Mac just to see the i386 lib-names
that FPALibrary refers to.
-- GG
_______________________________________________
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