From: Alexander H. <ale...@gm...> - 2009-03-19 18:30:08
|
Franco Giuliani wrote: > When I try tar 1.16 I get: > > dyld: Library not loaded: /sw/lib/libiconv.2.dylib > Referenced from: /sw/bin/tar > Reason: Incompatible library version: tar requires version 7.0.0 > or later, but libiconv.2.dylib provides version 5.0.0 > Trace/BPT trap > > on the other hand, I was unable to find the more recent version of > libiconv required by tar (I have the libiconv, libiconv-bin, and > libiconv-dev 1.12-3 packages from you). > If I try to uninstall tar to substitute it with a less recent version > accepting my libiconv version, fink commander refuses to do it, so > I'm currently stuck with a non-working tar. > Right. tar is essential to the operation of fink's tools; we don't use the system's for various reasons. The command-line tools do support a downgrade syntax though: sudo apt-get install tar=1.14-2 > -- > Package manager version: 0.28.5 > Distribution version: selfupdate-rsync Mon Feb 2 13:28:59 2009, > 10.4, i386 > Mac OS X version: 10.4.11 > Xcode version: 2.4.1 > gcc version: 4.0.1 (Apple Computer, Inc. build 5367) > make version: 3.80 > Feedback Courtesy of FinkCommander > > > ---------------------------------------------------- > Franco Giuliani > Department of Physics and Astronomy > University of New Mexico > 800 Yale Blvd NE > Albuquerque, New Mexico 87131 USA > Phone: +1(505) 277-3604 > Fax: +1(505) 277-1520 > e-mail: fgi...@un... > alternate e-mail: giu...@ph... > > > You may not actually be looking at fink's libiconv: dyld can sometimes be misleading that way. It's saying it didn't _load_ /sw/lib/libiconv.2.dylib, but that doesn't necessarily mean that what it _tried_ was /sw/lib/libiconv.2.dylib. Verify what fink's libiconv is actually providing by running otool -L /sw/lib/libiconv.2.dylib That should give you something like (I have libiconv-1.12-3, but my system is 10.5.6, so my libgcc_s and libSystem.B are probably of different versions than you will get): $ otool -L /sw/lib/libiconv.2.dylib /sw/lib/libiconv.2.dylib: /sw/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.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 111.1.1) If, as I suspect, you do get a compatibility version of 7.0.0, too, then you're going to need to check on your system for other instances of libiconv.2.dylib, and run "otool -L" on them. -- Alexander Hansen Fink User Liaison |