-------- Original Message --------
Subject:        Re: [Fink-users] dyld: Library not loaded: 
/sw/lib/libiconv.2.dylib
Date:   Fri, 13 Apr 2007 13:10:45 -0400
From:   Alexander K. Hansen <[EMAIL PROTECTED]>
To:     grigor amadeus <[EMAIL PROTECTED]>
References:     <[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]>



grigor amadeus wrote:
>
> On 13.04.2007, at 18:45, Alexander K. Hansen wrote:
>
>> grigor amadeus wrote:
>>>
>>>
>>> Begin forwarded message:
>>>
>>>> *From: *"Alexander K. Hansen" <[EMAIL PROTECTED] 
>>>> <mailto:[EMAIL PROTECTED]>>
>>>> *Date: *13. April 2007 18:06:48 MESZ
>>>> *To: *grigor amadeus <[EMAIL PROTECTED] 
>>>> <mailto:[EMAIL PROTECTED]>>
>>>> *Cc: [EMAIL PROTECTED] 
>>>> <mailto:[EMAIL PROTECTED]>
>>>> *Subject: **Re: [Fink-users] dyld: Library not loaded: 
>>>> /sw/lib/libiconv.2.dylib*
>>>>
>>>> grigor amadeus wrote:
>>>>> Hello,
>>>>>
>>>>> I'm new in Mac OS, but using linux the last years - most debian 
>>>>> based  distributions.
>>>>> I have a macbook with:
>>>>> *Mac OS X 10.4.9
>>>>> *Fink 0.8.1
>>>>> *FinkCommander 0.5.4
>>>>> *X11 1.1.3 - XFree86 4.4.0
>>>>>
>>>>> Everything works fine, until last days.
>>>>> I installed Evolution (Ximian Evolution mail-program) and being 
>>>>> in  the step to write a new mail, Evolution expects 
>>>>> gtkhtml-packages for  rendering.
>>>>>
>>>>> I start FinkCommander and select gtkhtml1.1, gtkhtml1.1-dev,  
>>>>> gtkhtml1.1-shlibs.
>>>>> FinkCommander select a bunch of packages which need to be 
>>>>> installed  because of dependencies, and I did agree with.
>>>>> Installation process run and I don't remember if everything finish 
>>>>> well.
>>>>>
>>>>> Effect since then, when open a shell and execute a command:
>>>>> <<Begin of transcript>>
>>>>> dyld: Library not loaded: /sw/lib/libiconv.2.dylib
>>>>>    Referenced from: /sw/lib/libintl.3.dylib
>>>>>    Reason: Incompatible library version: libintl.3.dylib requires  
>>>>> version 6.0.0 or later, but libiconv.2.dylib provides version 5.0.0
>>>>> Trace/BPT trap
>>>>> <<End of transcript>>
>>>>> The $PATH is: 
>>>>> /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/Users/ 
>>>>> my-user/bin:/usr/X11R6/bin
>>>>> When exclude /sw/bin from $PATH no error.
>>>>>
>>>>>
>>>> What version of the libiconv package do you have installed?  It 
>>>> looks like you either need a later one or that something has gotten 
>>>> confused in linking.  Do you have any other libiconv.2.dylib on 
>>>> your system besides Fink's ?
>>> libiconv:
>>> Version: 1.9.1
>>> Revision: 11
>>>
>>> reagrding to linking:
>>> being in /sw/lib and executing ls -lsa libiconv*, I get:
>>> 2128 -rw-r--r--   1 root  admin  1087556 May 15  2005 
>>> libiconv.2.2.0.dylib
>>> 2472 -rw-r--r--   1 root  admin  1261840 Aug 10  2006 
>>> libiconv.2.3.0.dylib
>>>    8 lrwxr-xr-x   1 root  admin       20 Apr 12 19:10 
>>> libiconv.2.dylib -> libiconv.2.2.0.dylib
>>> 2472 -rw-r--r--   1 root  admin  1261840 Aug 10  2006 libiconv.dylib
>>>    8 -rw-r--r--   1 root  admin      785 Jun  9  2006 libiconv.la
>>> If I should see something different, please advise what to do.
>>>
>>> Your last question: no, no other libiconv.2.dylib.
>>>
>>
>> I'm not sure how you searched for that, because you _should_ have a 
>> /usr/bin/libiconv.2.dylib.  I meant another one outside of your Fink 
>> tree.  By "linking" I didn't mean symbolic links, but linking object 
>> files during the build.  However, the fact that you have 
>> libiconv.2.3.0.dylib is suggestive:  I believe that one will give you 
>> a correct compatibility version.  Let's make sure that one was indeed 
>> installed correctly by Fink by using "dpkg -S 
>> /sw/lib/libiconv.2.3.0.dylib"
>>
>> You didn't turn the unstable tree on and then back off by any chance?
>
> 1. I don't have a /usr/bin/libiconv.2.dylib in /sw. 
I should have said /usr/lib/libiconv.2.dylib.  My bad.  Anyway it's below.
> Being in /sw I look for libiconv.2.dylib:
> my-computer:/sw root# find ./ -name libiconv.2.dylib -print
> .//lib/libiconv.2.dylib
>
> 2. Being in /:
> my-computer:/ root# ls -lsa `find ./ -name libiconv.2.dylib -print`
> 1768 -rw-r--r--   1 agr   admin   903708 Aug 11  2006 
> .//Applications/AbiWord.app/Contents/Frameworks/libiconv.2.dylib
> 2688 -rw-r--r--   1 agr   admin  1372788 Mar 25 20:04 
> .//Applications/avidemux.app/Contents/Resources/lib/libiconv.2.dylib
> 2472 -rw-r--r--   1 agr   admin  1261876 Mar 31  2006 
> .//opt/gnome-2.14/lib/libiconv.2.dylib
>    8 lrwxr-xr-x   1 root  admin       20 Apr 12 19:10 
> .//sw/lib/libiconv.2.dylib -> libiconv.2.2.0.dylib
> 3880 -rw-r--r--   1 root  wheel  1986536 Mar 17 10:17 
> .//usr/lib/libiconv.2.dylib
>
> By typing dpkg -S i get the following message:
> my-computer:/ root# /sw/bin/dpkg -S /sw/lib/libiconv.2.3.0.dylib
> dyld: Library not loaded: /sw/lib/libiconv.2.dylib
>   Referenced from: /sw/lib/libintl.1.dylib
>   Reason: Incompatible library version: libintl.1.dylib requires 
> version 6.0.0 or later, but libiconv.2.dylib provides version 5.0.0
> Trace/BPT trap
>
> Thanks
> Amadeus
>
>
OK, this is a hard one.  Change the /sw/lib/libiconv.2.dylib symlink to 
point to libiconv.2.3.0.dylib

-- 
Alexander K. Hansen
Fink User Liaison/Documenter
[EMAIL PROTECTED]




-- 
Alexander K. Hansen
Fink User Liaison/Documenter
[EMAIL PROTECTED]


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to