Matthew Parry wrote:
> On 14 Oct 2008, at 16:23, Alexander Hansen wrote:
> 
>> On Oct 14, 2008, at 7:35 AM, Matthew Parry wrote:
>>
>>> fink-related...
>>>
>>> i stumbled on something interesting the other day as i was trying to
>>> figure why some (non-fink) package wouldn't install. (i'm on 10.4.11
>>> intel, latest everything.)
>>>
>>> according to the last modified time, the file /usr/local/lib was
>>> changed while i was updating to xcode 2.5.
>>>
>>> weirdly, /usr/local/lib became a symbolic link to itself!
>>>
>>> did anyone else have this issue? (i couldn't see it discussed on  
>>> fink-
>>> users.)
>>>
>>> i changed the link it to point to /usr/lib and now my problematic
>>> packages install.
>>>
>>> i guess my question is, was this the right thing to do? or was there
>>> a real /usr/local/lib directory that i am now missing.
>>>
>> That's strange--Apple tools oughtn't mess with /usr/local at all,  
>> since none of their software should need it.
>>
> 
> i'm guessing it was xcode since there was a really large number of  
> other files modified/created at exactly the same time and they were  
> all xcode related. i certainly wasn't doing any other tinkering while  
> xcode was installing.

Apart from whether this was xcode releated or not, /usr/local is 
normally empty (not even sure if it exists) in a clean OSX install and 
no Apple stuff gets put there (and neither does Fink).  However, some 
3rd party software does put things there, so you _might_ have lost 
things, but impossible to know w/out seeing your computer.  The other 
directories in /usr/local (like bin or include) might shed a light as to 
what may have been there.  Also, the command 'ln' won't create a link 
overwriting something that already exists, but will create a link to 
itself if it doesn't exist, so 'ln -s /usr/local/lib /usr/local/lib' 
will fail if /usr/local/lib exists, but succeed if it didn't exist, 
_suggesting_ your /usr/local/lib was empty at the start.

Hanspeter

-- 
Hanspeter Niederstrasser
hanspeter AT snaggledworks DOT com


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to