caskformula / homebrew-caskformula

Tap containing formulae for casks
83 stars 34 forks source link

Install fails Mac OS X 10.11 El Capitan #27

Open tkegan opened 6 years ago

tkegan commented 6 years ago

I get the following when running "brew install inkscape":

Last 15 lines from /Users/tkegan/Library/Logs/Homebrew/inkscape/03.make: ... "_iconv_open", referenced from: _U_Utf32leToUtf16le in libuemf_LIB.a(uemf_utf.c.o) _U_Utf16leToUtf32le in libuemf_LIB.a(uemf_utf.c.o) _U_Latin1ToUtf32le in libuemf_LIB.a(uemf_utf.c.o) _U_Utf8ToUtf32le in libuemf_LIB.a(uemf_utf.c.o) _U_Utf32leToUtf8 in libuemf_LIB.a(uemf_utf.c.o) _U_Utf8ToUtf16le in libuemf_LIB.a(uemf_utf.c.o) _U_Utf16leToUtf8 in libuemf_LIB.a(uemf_utf.c.o) ... ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [lib/libinkscape_base.dylib] Error 1 make[1]: *** [src/CMakeFiles/inkscape_base.dir/all] Error 2 make: *** [all] Error 2

I tried to install libiconv though Mac OS X already has a version. Any other suggestions?

javiroberts commented 6 years ago

try:

$ brew cask install inkscape

as it is a gui app

twogee commented 6 years ago

This problem is a duplicate of #13 (and a similar issue has been reported in #26). The idea is to use libiconv provided by macOS, but an incorrect (32-bit only) version of the library from something installed on your computer is interposed. You have to find and eliminate it; locate and brew doctor may provide some clues.