Am 09.01.2013 um 10:17 schrieb Jerry <lancebo...@qwest.net>: > On Jan 8, 2013, at 8:03 AM, Stephan Witt wrote: >>>>> What went wrong? Recall that I'm on OS X 10.7.5. I have the following >>>>> libraries installed: >>>>> >>>>> >>>>> /opt/local/lib/libiconv.2.dylib >>>>> /opt/local/lib/libiconv.a >>>>> /opt/local/lib/libiconv.dylib >>>>> /opt/local/lib/libiconv.la >>>>> >>>>> /usr/lib/libiconv.2.4.0.dylib >>>>> /usr/lib/libiconv.2.dylib >>>>> /usr/lib/libiconv.dylib >>>>> >>>>> My PATH is: >>>>> > >> >> Reading your linker error message I'd say you build LyX with 64bit, but you >> don't have a matching iconv library. That's strange, because your system >> library (in /usr/lib) should at least provide i386 and x86_64. Here this is >> the case: >> $ file /usr/lib/libiconv.2.4.0.dylib >> /usr/lib/libiconv.2.4.0.dylib: Mach-O universal binary with 2 architectures >> /usr/lib/libiconv.2.4.0.dylib (for architecture i386): Mach-O >> dynamically linked shared library i386 >> /usr/lib/libiconv.2.4.0.dylib (for architecture x86_64): Mach-O 64-bit >> dynamically linked shared library x86_64 > > On my 10.7.5 machine: > > $ file /usr/lib/libiconv.2.dylib > /usr/lib/libiconv.2.dylib: Mach-O fat file with 2 architectures > > $ file /opt/local/lib/libiconv.2.dylib > /opt/local/lib/libiconv.2.dylib: Mach-O fat file with 2 architectures > > $ file /opt/local/lib/libiconv.a > /opt/local/lib/libiconv.a: Mach-O fat file with 2 architectures > > <<< That's all it reported--no specifics on architectures. But when I build > LyX I get a complaint that libmagic might not be installed correctly on my > system--I have not investigated. >>>
The terse output of "file" is strange. Perhaps you have another one (file) in /opt/local/bin? Try /usr/bin/file instead then. The libmagic complaint is not related and I have it too. Stephan