Re: More File Paths for dylibs
Re: More File Paths for dylibs
- Subject: Re: More File Paths for dylibs
- From: Dave <email@hidden>
- Date: Wed, 30 May 2007 22:26:46 +0100
Hi,
Ok, I've tried it again and it still doesn't work. This is the output
from otool -L, which shows the path set as you describe:
TheStateOfTheArt:~ Dave$ otool -L /Users/Dave/Desktop/HFPA-Diag/
FPAWrapper/FPALibrary.bundle/Contents/MacOS/FPALibrary
/Users/Dave/Desktop/HFPA-Diag/FPAWrapper/FPALibrary.bundle/Contents/
MacOS/FPALibrary:
/System/Library/Frameworks/QuartzCore.framework/Versions/A/
QuartzCore (compatibility version 1.2.0, current version 1.4.9)
/System/Library/Frameworks/QuickTime.framework/Versions/A/
QuickTime (compatibility version 1.0.0, current version 9.0.0)
@loader_path/../dylib/libfpacore2_uni.dylib (compatibility
version 0.0.0, current version 0.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/
Carbon (compatibility version 2.0.0, current version 128.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0,
current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 88.3.3)
TheStateOfTheArt:~ Dave$ cd /Users/Dave/Desktop/HFPA-Diag/FPAWrapper/
TheStateOfTheArt:~/Desktop/HFPA-Diag/FPAWrapper Dave$ ls -l
total 0
drwxr-xr-x 3 Dave Dave 102 May 29 14:05 FPALibrary.bundle
TheStateOfTheArt:~/Desktop/HFPA-Diag/FPAWrapper Dave$ cd /Users/Dave/
Desktop/HFPA-Diag/Dylib/
TheStateOfTheArt:~/Desktop/HFPA-Diag/Dylib Dave$ ls -l
total 5688
-rwxr-xr-x 1 Dave Dave 2911000 May 29 14:03 libfpacore2_uni.dylib
As you can see, the .dylib file is definitely there I'm at a loss as
to what to do now!
One thing. Do I need a "/" between the @loader_path and the rest of
the path string? I assumed you did so I added one.
Any ideas anyone?
Thanks a lot
All the Best
Dave
On 30 May 2007, at 21:37, Mike Blaguszewski wrote:
On May 30, 2007, at 4:28 PM, Dave wrote:
In this case I have an Application that loads a plug-in that loads
a dylib. So, in this case the @executable_path is the Application
and @loader_path is the plug-in, correct?
Correct.
Should be ok. Is the loader path set to the name of the .bundle
file or the real plug-in which is in <bundle>/contents/macos ?
The latter. Install names should always refer to the actual
executable file, not the enclosing bundle.
--
Mike Blaguszewski / Cocoa Hacker / Ambrosia Software, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40looktowindward.com
This email sent to email@hidden
_______________________________________________
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