Hello
Thank you bot for your answers!
Martin excuse me that I did not run otools and so lost some of your
time, I should have thought to run otools...
a$ otool -L /sw/lib/libiconv*
/sw/lib/libiconv.2.2.0.dylib:
/sw/lib/libiconv.2.dylib (compatibility version 5.0.0, current
version 5.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.1.5)
/sw/lib/libiconv.2.dylib:
/sw/lib/libiconv.2.dylib (compatibility version 5.0.0, current
version 5.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.1.5)
/sw/lib/libiconv.dylib:
/sw/lib/libiconv.2.dylib (compatibility version 5.0.0, current
version 5.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.1.5)
/sw/lib/libiconv.la: is not an object file
So I think the problem is the first one Martin pointed out::
1. Your /sw/lib/libiconv.2.dylib exists, but is really too old. In this case,
one would have to try to understand how you can have acquired a dpkg that was
built against a newer libiconv (well, where *did* you get your dpkg from, given
that you didn't build it?)
The version is actually 5.0.0... so the question is: should I upgrade
libiconv (if there is a version with dyld 6.0.0) or downgrade dpkg...
a$ fink dumpinfo dpkg
Information about 2880 packages read in 2 seconds.
infofile: /sw/fink/dists/stable/main/finkinfo/base/dpkg.info
package: dpkg
epoch: 0
version: 1.10.21
revision: 1224
family: dpkg
status: latest
allversions:
b 1.10.21-1219
1.10.21-1224
I actually don't remember how I installed it, wasn'it already
installed?... Well maybe did I installed from Fink commander or with
sudo apt-get install...
Or is it just a problem in the path? if I understood well,
sw/lib/libiconv.2.dylib is a link who should point to
/sw/lib/libiconv.2.2.0.dylib (or a newer version). Is it right? Can I
test if this work (this seems to have been the solution in this
fink-archive message
http://thread.gmane.org/gmane.os.macosx.fink.user/20378/focus=20417)
Well when I run
a$ env | grep DYLD
a$
a$ echo $DYLD_LIBRARY_PATH
a$
the first command does not give nothing and the second one a blank
line... is this normal? when I just run "env"
USER=ipteh14928
__CF_USER_TEXT_ENCODING=0x1F8:0:91
PATH=/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
PWD=/Users/ipteh14928
there is also a blank line... is this a problem you think?
Thank you very much for your help!!
Matthieu
Benjamin Reed a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Martin COSTABEL wrote:
>
> |> dyld: Library not loaded: /sw/lib/libiconv.2.dylib
> |> Referenced from: /sw/bin/dpkg-deb
> |> Reason: Incompatible library version: dpkg-deb requires version
> 6.0.0
> |> or later, but libiconv.2.dylib provides version 5.0.0
>
> | 4. Something else
>
> One possibility... DYLD_LIBRARY_PATH is set and forcing fink to use the
> one in /usr/lib when it shouldn't.
>
> What does "env | grep DYLD" print?
>
> - --
> Benjamin Reed a.k.a. Ranger Rick
> Fink, KDE, and Mac OS X development
>
> Blog: http://www.raccoonfink.com/
> Music: http://music.raccoonfink.com/
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFIPAnCUu+jZtP2Zf4RAu+bAJwMqBUMg8FUTB8GH+llwz/ylosKRwCfXZ/i
> VXHNYicitMOe+eVmKiocWMY=
> =4Nwr
> -----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners