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



On Jan 27, 2004, at 1:57 PM, Sean Ahern wrote:

Rich Cook wrote:
/usr/local/lib is only marginally different to /sw/lib. If either is
in the default ld/dyld search paths or I use -L/usr/local/lib in a
link command, I am immediately condemned to link all the Fink/whatever
stuff that has been installed, whether I want it or not. That is what
I mean by pollution. Obviously the same applies to headers at compile
time.

You are just incorrect here. -L/usr/local/lib does not link *ANYTHING*
in, it simply adds /usr/local/lib to the search paths for libs you
explicitly request with -lname.

I think that's what he means, Rich.

If you ever once add -L/usr/local/lib to a link line, then all successive
-lname libraries come from /usr/local/lib (assuming they're there), rather
than from the default Apple-provided location. That's pollution, from a
certain point of view.

Hey, Sean,
I can definitely see how placing libxxx.so in /sw/lib invites it to be overwritten by another fink package wishing another library version. But how would Frameworks solve this problem? If XXX is bundled as a framework, and product A needs one version and B needs another, then they either have to bundle it with their own product or there will be a conflict, frameworks or no frameworks. There is only one XXX framework found by the compiler, just as there would only be one libXXX.so found using /usr/local/lib...


--
Richard Cook
Lawrence Livermore National Laboratory
Bldg-451 Rm-2043, Mail Stop L-561
7000 East Avenue, Livermore, CA, 94550, USA
phone (925) 423-9605 (work) fax (925) 423-8704
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)
_______________________________________________
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>)



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.