• 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
Problems linking to dylibs in bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems linking to dylibs in bundle


  • Subject: Problems linking to dylibs in bundle
  • From: Mark Lucas <email@hidden>
  • Date: Thu, 23 Feb 2006 15:10:04 -0500

I'm trying to use xcode to build an application bundle from external make projects.  I'm trying to bundle some of the resulting dylibs within an application bundle to satisfy the dependencies.
I have the external make targets building successfully and have them as target dependencies in my app target.  

I've tried moving the required dylibs into the bundle under Contents/Frameworks but they are not found at runtime.

Does it only search @executable_path/../Frameworks for Frameworks and not dylibs?

Any help would be greatly appreciated.  Thanks,





running otool -L on the executable within the bundle yields:

mrl$ otool -L ossimosgqt
ossimosgqt:
        libosgPlanet.dylib (compatibility version 1.0.0, current version 1.0.0)
        libosgGA.dylib (compatibility version 1.0.0, current version 1.0.0)
        libosgDB.dylib (compatibility version 1.0.0, current version 1.0.0)
        libosgUtil.dylib (compatibility version 1.0.0, current version 1.0.0)
        libosg.dylib (compatibility version 1.0.0, current version 1.0.0)
        libProducer.dylib (compatibility version 0.0.0, current version 0.0.0)
        libosgText.dylib (compatibility version 1.0.0, current version 1.0.0)
        libosgProducer.dylib (compatibility version 1.0.0, current version 1.0.0)
        /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
        /Users/Shared/Development/ossim/lib/libossim.1.6.5.dylib (compatibility version 0.0.0, current version 0.0.0)
        libOpenThreads.dylib (compatibility version 0.0.0, current version 0.0.0)
        libwms.dylib (compatibility version 1.0.0, current version 1.0.0)
        libqt.3.dylib (compatibility version 3.3.0, current version 3.3.6)
        /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.3.0)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

Those libs are in app/Contents/Frameworks however.

mark

-------------------

Lead Scientist, Site Manager

L-3 Communications - Titan Group

Melbourne Florida office

1901 S Harbor City Blvd

Suite 710

Melbourne Fl 32951


email@hidden (work)

email@hidden (home)


(321) 725 4005 (work)

(321) 768 1300 (fax)

-------------------


http://web.mac.com/mlucas17/iWeb/Site/Welcome.html





 _______________________________________________
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: Problems linking to dylibs in bundle
      • From: "D. Walsh" <email@hidden>
  • Prev by Date: Re: Framework include???
  • Next by Date: Re: Problems linking to dylibs in bundle
  • Previous by thread: Re: Framework include???
  • Next by thread: Re: Problems linking to dylibs in bundle
  • Index(es):
    • Date
    • Thread