• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
App linked on Leopard not starting on Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

App linked on Leopard not starting on Tiger


  • Subject: App linked on Leopard not starting on Tiger
  • From: Oliver Demetz <email@hidden>
  • Date: Thu, 08 Oct 2009 13:57:21 +0200

Hi!

I am quite new to OS X development.

I have developed an app under Leopard, which 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


  • Follow-Ups:
    • Re: App linked on Leopard not starting on Tiger
      • From: Peter O'Gorman <email@hidden>
    • Re: App linked on Leopard not starting on Tiger
      • From: David Duncan <email@hidden>
    • Re: App linked on Leopard not starting on Tiger
      • From: Oliver Demetz <email@hidden>
  • Prev by Date: Compiling a screen saver for Snow Leopard (10.6) and Leopard (10.5)
  • Next by Date: Re: EXC_BREAKPOINT crash when debugging with Xcode 3.2
  • Previous by thread: Re: Compiling a screen saver for Snow Leopard (10.6) and Leopard (10.5)
  • Next by thread: Re: App linked on Leopard not starting on Tiger
  • Index(es):
    • Date
    • Thread