Linking with a very specific library version
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