Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why we hate fink



Sean Ahern wrote:

> Peter O'Gorman wrote:
>
> Of course.  But that's pretty nonstandard.  Plus, you have to worry about
> shifting version numbers.  Do you mean /usr/lib/libnetsnmpmibs.5.0.8.dylib?
> Or maybe you want /sw/lib/libORBit.0.5.17.dylib.  Or does this one have a
> /sw/lib/libORBit.0.dylib symlink?  It's a lot more standard to let the
> linker resolve this kind of thing at link time.  And definitely more
> cross-platform compatible.

I don't understand your version number point. As long as the symlinks are in
place you don't have to worry about version numbers at all. If the symlinks
are not in place then the linker will be unable to find the library either.
The linker, when it sees -lfoo, looks for libfoo.dylib in all the -L paths
on the link line, in order, then in /lib /usr/lib and /usr/local/lib, then
it starts again looking for libfoo.a. Of course, with 10.3, you can specify
-search_paths_first which will cause ld to look for libfoo.dylib then
libfoo.a in each path before continuing to the next path.

In other words, ld has no idea about version numbers, why bring them up here?

Peter
--
I guess I'd better identify myself to show bias :)
:
Co-Maintainer: Fink project - http://fink.sf.net
Co-Maintainer: GNU Libtool - http://www.gnu.org/software/libtool
Maintainer: dlcompat - http://www.opendarwin.org/projects/dlcompat
:
_______________________________________________
scitech mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/scitech
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: why we hate fink (From: Bill Northcott <email@hidden>)
 >Re: why we hate fink (From: Rich Cook <email@hidden>)
 >Re: why we hate fink (From: Sean Ahern <email@hidden>)
 >Re: why we hate fink (From: "Peter O'Gorman" <email@hidden>)
 >Re: why we hate fink (From: Sean Ahern <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.