Steffen Schmidt wrote:
> Hi Martin,
> 
> On Sep 7, 2009, at 22:58 , Martin Costabel wrote:
>>
>> I think the only explanation for this error message is that there is
>> some other *.la file related to one of the other libs on the linker line
>> that mentions explicitly /usr/lib/libiconv.la.
>>
>> Now where such an *.la file could come from is a mystery itself, because
>> it would look like it invented a non-existent file. Unless, of course,
>> you have leftovers in /sw64 from a previous Fink installation on 10.5,
>> or you have stuff in /usr/local/lib that you picked up from the street.
> 
> So, I think I found the problem after starting afresh (I did it 
> beforehand but wanted to be really sure) - I also moved /usr/local/lib away
> 
> Using  fink-0.29.9
>  > ./bootstrap /sw64
> (using 64bit only)
>  > . /sw64/bin/init.sh
> (adding the unstable branches to fink.conf)
>  > fink selfupdate
>  > fink install gd2
> 
> ... same failure /usr/lib/libiconv.la...
> 
>  > find /sw64/lib -name "*.la" | xargs grep "/usr/lib/libiconv" | cut -d 
> ":" -f 1
> /sw64/lib/fontconfig2/lib/libfontconfig.fink.la
> /sw64/lib/fontconfig2/lib/libfontconfig.la
>  > find /sw64/lib -name "*.la" | xargs grep "/usr/lib/libiconv" | cut -d 
> ":" -f 1 | xargs sudo sed -i.bak 
> "s|/usr/lib/libiconv.la|/sw64/lib/libiconv.la|"
>  > fink install gd2
> works!

Although the fontconfig2 package is already far too smart for its own 
good, it seems it needs another layer of smartness for the case of 
missing *.la files in /usr/lib.

-- 
Martin

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to