osx - libiconv.2.dylib Mac OS X Problem -
i have problem important file libiconv.2.dylib. when want start applications (like macvim, etc.) error:
dyld: library not loaded: /usr/lib/libiconv.2.dylib referenced from: /applications/macvim.app/contents/macos/vim reason: no suitable image found. did find: /usr/lib/libiconv.2.dylib: mach-o, wrong architecture /usr/lib/libiconv.2.dylib: mach-o, wrong architecture trace/bpt trap
is there way restore (no time machine available) or recompile library mac (10.6)?
you appear have mismatch between architectures. system library libiconv
should universal file contains necessary archs; on os x 10.6, apple ships three.
$ file /usr/lib/libiconv.2.dylib /usr/lib/libiconv.2.dylib: mach-o universal binary 3 architectures /usr/lib/libiconv.2.dylib (for architecture x86_64): mach-o 64-bit dynamically linked shared library x86_64 /usr/lib/libiconv.2.dylib (for architecture i386): mach-o dynamically linked shared library i386 /usr/lib/libiconv.2.dylib (for architecture ppc7400): mach-o dynamically linked shared library ppc
try similar macvim.app executable:
$ file /applications/macvim.app/contents/macos/vim
there needs @ least 1 common architecture , app needs running in 1 of common archs. make sure have current version of app. if libiconv
not have of architectures, system installation of os x 10.6 faulty. perhaps tried install /usr/lib
? don't that. if so, may need reinstall os x 10.6.
Comments
Post a Comment