• 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
linking in private non-Framework libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

linking in private non-Framework libraries


  • Subject: linking in private non-Framework libraries
  • From: Glenn Howes <email@hidden>
  • Date: Sun, 29 Sep 2002 12:09:16 -0700

Hello,
Following up on my "private Frameworks - how" question of the other day, I am trying to link the Berkeley DB libraries into my application without having to install it separately. I guess that I want Project Builder to tell the linker to statically link the static version of the DB library "libdb-4.0.a" directly into my executable to make one big monolithic executable but I'm ignorant of how to do this. I would have thought it a simple matter of dragging the file from the finder into the Project Builder window, however this only makes a linkage with the dynamic library in my "/usr/local/BerkeleyDB.4.0" directory. Obviously, most of my users will not have such a directory.


Alternatively, perhaps there is a sub-folder like the private "Frameworks" directory into which dyld could find the library inside my app package.

And perhaps there is something to be done with libtool.

As you can see, I'm quite confused.

--glenn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: linking in private non-Framework libraries
      • From: Drew McCormack <email@hidden>
  • Prev by Date: URLHandleUsingCache won't cache
  • Next by Date: [newbie] Handling a preferences window
  • Previous by thread: URLHandleUsingCache won't cache
  • Next by thread: Re: linking in private non-Framework libraries
  • Index(es):
    • Date
    • Thread