• 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
Re: App linked on Leopard not starting on Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App linked on Leopard not starting on Tiger


  • Subject: Re: App linked on Leopard not starting on Tiger
  • From: Ken Thomases <email@hidden>
  • Date: Sat, 10 Oct 2009 00:28:08 -0500

On Oct 9, 2009, at 4:38 AM, Oliver Demetz wrote:

Ken Thomases schrieb:
First, are you sure you've caught all references to this library from binaries in your app? Apply "otool -L" to all of the binaries in your app bundle.
Well, the bundle only contains one binary called "hs" and

That's not true, by your own report:

oliver-demetzs-macbook:~ oliverdemetz$ otool -L hs/hs/hs.app/ Contents/MacOS/hs
hs/hs/hs.app/Contents/MacOS/hs:
@executable_path/../Frameworks/libsglmac-2.29.0.0.dylib (compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Frameworks/qca.framework/Versions/2/qca (compatibility version 2.0.0, current version 2.0.1)
@executable_path/../Frameworks/QtOpenGL.framework/Versions/4/ QtOpenGL (compatibility version 4.5.0, current version 4.5.3)
@executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui (compatibility version 4.5.0, current version 4.5.3)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 136.0.0)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 949.54.0)
@executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore (compatibility version 4.5.0, current version 4.5.3)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

Your bundle contains libsglmac and the qca, QtOpenGL, QtGui, and QtCore frameworks. Perhaps it also contains other libraries and frameworks. It may be that "hs" is the only _executable_ in the bundle, but it's not the only _binary_. Check them all.



Are you sure your app works generally on Leopard, or is it only working because it's on your development machine?

To be honest: No I am not, because I just have this one Macbook.

Well, you can try building the app and then deleting or moving all of the original libraries from which it was built. That is, make sure that it can't be resolving any references to libraries by looking outside of the bundle by making sure those libraries aren't in their original locations.


Regards,
Ken

_______________________________________________
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: Oliver Demetz <email@hidden>
References: 
 >App linked on Leopard not starting on Tiger (From: Oliver Demetz <email@hidden>)
 >Re: App linked on Leopard not starting on Tiger (From: Oliver Demetz <email@hidden>)
 >Re: App linked on Leopard not starting on Tiger (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Xcode 3.2 snaphots with code shared by multiple projects
  • Next by Date: Re: I hate xcode for such a bugs
  • Previous by thread: Re: App linked on Leopard not starting on Tiger
  • Next by thread: Re: App linked on Leopard not starting on Tiger
  • Index(es):
    • Date
    • Thread