Re: App linked on Leopard not starting on Tiger
Re: App linked on Leopard not starting on Tiger
- Subject: Re: App linked on Leopard not starting on Tiger
- From: Oliver Demetz <email@hidden>
- Date: Fri, 09 Oct 2009 10:30:27 +0200
Hi!
Nobody having an idea?
Sorry for pushing the topic.
Thanks in advance.
Regards,
Oliver
Oliver Demetz schrieb:
Hi!
I have developed an app under Leopard, which successfully uses "libsglmac-2.29.0.0.dylib".
Ok. After building the app bundle I always execute the following commands:
mkdir -p hs.app/Contents/Frameworks
cp ../maclibs/libsglmac-2.29.0.0.dylib hs.app/Contents/Frameworks/
install_name_tool -id
@executable_path/../Frameworks/libsglmac-2.29.0.0.dylib
hs.app/Contents/Frameworks/libsglmac-2.29.0.0.dylib
install_name_tool -change libsglmac-2.29.0.0.dylib.i386
@executable_path/../Frameworks/libsglmac-2.29.0.0.dylib
hs.app/Contents/MacOS/hs
After these commands, I can doubleclick the app-bundle in finder and my
app starts as expected (on my Macbook dev-machine running Os X 10.5.8)
OK.
Now I bought a second older iBook G4 running Tiger (10.4.2) and copied
this app-bundle to it.
But the app does not start there saying
dyld: Library not loaded libsglmac-2.29.0.0
Reason Image not found
As an info: Both my app and also the libsglmac contain universal binaries:
> file libsglmac-2.29.0.0.dylib
libsglmac-2.29.0.0.dylib: Mach-O universal binary with 2 architectures
libsglmac-2.29.0.0.dylib (for architecture i386): Mach-O dynamically
linked shared library i386
libsglmac-2.29.0.0.dylib (for architecture ppc): Mach-O dynamically
linked shared library ppc
Please help!
Thank you all in advance!
Oliver Demetz
_______________________________________________
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