On Jul 20, 2012, at 12:20 , Kornel Benko wrote: > Am Freitag, 20. Juli 2012 um 11:05:27, schrieb Edwin Leuven > <e.leu...@gmail.com> > > there seems to be some problem with linking iconv though. > > What problems?
i pasted the error message below. looks like iconv is not 64bit ed. Ld /Users/edwin/devel/lyx-build/bin/Debug/lyxclient2.1 normal x86_64 cd /Users/edwin/devel/lyx setenv MACOSX_DEPLOYMENT_TARGET 10.7 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -L/Users/edwin/devel/lyx-build/bin/Debug -L/Users/edwin/devel/lyx-build/lib/Debug/Debug -L/Users/edwin/devel/lyx-build/lib/Debug -L/opt/local/lib/Debug -L/opt/local/lib -F/Users/edwin/devel/lyx-build/bin/Debug -F/Library/Frameworks -filelist /Users/edwin/devel/lyx-build/src/client/lyx.build/Debug/lyxclient2.1.build/Objects-normal/x86_64/lyxclient2.1.LinkFileList -mmacosx-version-min=10.7 -Wl,-search_paths_first -Wl,-headerpad_max_install_names /Users/edwin/devel/lyx-build/lib/Debug/libsupport.a /Users/edwin/devel/lyx-build/lib/Debug/libboost_signals.a /Users/edwin/devel/lyx-build/lib/Debug/libboost_regex.a /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -framework QtCore -framework QtGui -framework AppKit /opt/local/lib/libz.dylib -lobjc -framework CoreFoundation -framework AppKit -o /Users/edwin/devel/lyx-build/bin/Debug/lyxclient2.1 ld: warning: directory not found for option '-L/Users/edwin/devel/lyx-build/lib/Debug/Debug' ld: warning: directory not found for option '-L/opt/local/lib/Debug' Undefined symbols for architecture x86_64: "_iconv_open", referenced from: lyx::IconvProcessor::init() in libsupport.a(unicode.o) "_iconv", referenced from: lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned long) in libsupport.a(unicode.o) (maybe you meant: __ZN3lyx19from_iconv_encodingERKSsS1_, __ZN3lyx17to_iconv_encodingERKSbIwSt11char_traitsIwESaIwEERKSs ) "_iconv_close", referenced from: lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned long) in libsupport.a(unicode.o) lyx::IconvProcessor::Impl::~Impl() in libsupport.a(unicode.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)