Re: More File Paths for dylibs
Re: More File Paths for dylibs
- Subject: Re: More File Paths for dylibs
- From: Dave <email@hidden>
- Date: Thu, 31 May 2007 07:38:56 +0100
Hi,
Ok, I changed it and it still doesn't work. Here are the messages
from the console:
2007-05-31 07:35:45.877 Revolution[6458] CFLog (21): Error loading /
Users/Dave/Desktop/HFPA-Diag/FPAWrapper/FPALibrary.bundle/Contents/
MacOS/FPALibrary: error code 4, error number 0 (Library not loaded:
@loader_path../../../../dylib/libfpacore2_uni.dylib
Referenced from: /Users/Dave/Desktop/HFPA-Diag/FPAWrapper/
FPALibrary.bundle/Contents/MacOS/FPALibrary
Reason: image not found)
2007-05-31 07:35:45.900 Revolution[6458] CFLog (21): Error loading /
Users/Dave/Desktop/HFPA-Diag/FPAWrapper/FPALibrary.bundle/Contents/
MacOS/FPALibrary: error code 4, error number 0 (Library not loaded:
@loader_path../../../../dylib/libfpacore2_uni.dylib
Referenced from: /Users/Dave/Desktop/HFPA-Diag/FPAWrapper/
FPALibrary.bundle/Contents/MacOS/FPALibrary
Reason: image not found)
and the output from otool:
TheStateOfTheArt:~/Desktop/HFPA-Diag/Dylib 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)
If I use an absolute path it works. Not sure what do to next!
Thanks a lot
All the Best
Dave
On 30 May 2007, at 22:46, Mike Blaguszewski wrote:
On May 30, 2007, at 5:26 PM, Dave wrote:
Ok, I've tried it again and it still doesn't work.
As I indicated, the install name should be relative to the plugin
binary file, so I think you want "@loader_path/../../../../Dylib/
libfpacore2_uni.dylib". Also, I think you should be getting error
messages in the Console showing the path the dynamic loader was
looking for.
--
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