Not surprising.  The issue here isn't with building but with 
running--either the library the package was coded to use at build time 
has been replaced, or the dynamic loader finds a different copy of the 
library that has the same "install_name"  and uses it. 

I don't recall the sequence of events with the libpng in 10.5's 
X11--perhaps the 10.5.2 update _broke_ compatibility rather than fixing 
a previous breakage--but any time any library gets downgraded this sort 
of thing can occur.

David T. wrote:
> I have 10.5.4, XCode 3.0, and fink 0.28.5, and I was able to install 
> xfig-3.2.5 without a hitch...
>
> David
>
> --- On Tue, 7/29/08, Alexander Hansen <[EMAIL PROTECTED]> wrote:
>
>   
>> From: Alexander Hansen <[EMAIL PROTECTED]>
>> Subject: Re: [Fink-beginners] libpng and Xcode2.5 path
>> To: "Derek Teaney" <[EMAIL PROTECTED]>
>> Cc: [email protected]
>> Date: Tuesday, July 29, 2008, 8:17 PM
>> On Jul 29, 2008, at 10:43 PM, Derek Teaney wrote:
>>
>>     
>>> Hello,
>>>
>>> I have just gotten a new mac and went about installing
>>>       
>> my favorite
>>     
>>> things
>>> and ran into the following snags.
>>>
>>> ***
>>>
>>>  After installing Xcode2.5 from apple I had to add to
>>>       
>> modify the
>>     
>>> default fink path from
>>>
>>>
>>>       
>> /sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/
>>
>>     
>>> local/
>>> bin:/usr/X11R6/bin
>>>
>>> To:
>>>
>>>
>>>       
>> /sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/
>>
>>     
>>> local/
>>>
>>>       
>> bin:/usr/X11R6/bin:/Xcode2.5/usr/bin:/Xcode2.5/usr/sbin
>>     
>>> To account for the fact that  gcc and other good
>>>       
>> things are now in /
>>     
>>> Xcode2.5/usr/bin.  Is this
>>> in general necessary?
>>>
>>> ***
>>>       
>>
>>     
>>> Then I tried to install xfig using fink and  got :
>>>
>>> $xfig
>>> dyld: Library not loaded:
>>>       
>> /usr/X11/lib/libpng12.0.dylib
>>     
>>>   Referenced from: /sw/bin/xfig
>>>   Reason: Incompatible library version: xfig requires
>>>       
>> version 25.0.0
>>     
>>> or later, but libpng12.0.dylib provides version 1.0.0
>>> Trace/BPT trap
>>>
>>> I could not resolve this problem:
>>>
>>> ***
>>>
>>> fink -V gives
>>>
>>>  Package manager version: 0.27.16
>>> Distribution version: 0.9.0.1 i386
>>>
>>> The OS is
>>>
>>> Mac 10.5.2
>>>
>>>
>>> Thanks for any help,
>>>
>>> Derek
>>>
>>>
>>>       
>> You would indeed need to modify the PATH, but why do you
>> have Xcode  
>> 2.5?  Fink wants Xcode 3.x on Leopard.
>>
>> I don't think the problem with xfig is necessarily
>> related to Xcode  
>> 2.5--the dynamic loader is sometimes not very bright, and
>> so it may  
>> have been built to target fink's libpng, but it finds
>> the one from X11  
>> instead--which has a busted compatibility version.  I had
>> thought that  
>> that was fixed in the 10.5.2 update, though.
>>
>> Try updating to 10.5.4 first, and if that doesn't work,
>> then you can  
>> get a new enough libpng from the unofficial X11 update at
>>
>> http://xquartz.macosforge.org/trac/wiki
>>
>>
>>     
>
>       
>   


-------------------------------------------------------------------------
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-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to