• 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 with a very specific library version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linking with a very specific library version


  • Subject: Linking with a very specific library version
  • From: "Dave Geering" <email@hidden>
  • Date: Mon, 10 Nov 2008 15:19:13 +1100

Hi All,

I've created a Bundle that uses the NetSNMP libraries on Mac OS X. The
sad thing is that on Tiger, libnetsnmp.5.2.1 is the default, whereas
on Panther it is an earlier and incompatible version 5.0.8. I figured
the easiest way around this was to distribute 5.2.1 with my bundle,
but when I compile and link against 5.2.1 and run it on Panther, my
application still tries to use 5.0.8 and bombs out, despite the
presence of 5.2.1. After some extra research I found it is still
trying to load libnetsnmp.5.dylib which is a symbolic link to version
5.0.8. If I reattach the symbolic link to 5.2.1 everything works fine,
but obviously this would break all Panther apps that used 5.0.8.

Is there a way to force my application to link against the full
version 5.2.1 without making a static link? I can't statically link
because I am creating a bundle.

Thanks in advance,

Dave.
 _______________________________________________
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

  • Prev by Date: Re: Hello Newbiee Online, and auto completion quesiton
  • Next by Date: Re: Process (Xcode): 68 leaks for 3312 total leaked bytes.
  • Previous by thread: Re: How do I configure an Xcode project to use or not-use garbage collection?
  • Next by thread: Disk thrashing when opening a project
  • Index(es):
    • Date
    • Thread