I recently ditched MacPorts for Homebrew, as a result im now experiencing some issues with make
. Namely this error:
/Developer/usr/bin/llvm-gcc -rdynamic -o zsh main.o `cat stamp-modobjs` -liconv -ldl -ltermcap -lm -lc
Undefined symbols:
"_libiconv_open", referenced from:
llvm bitcode in utils.o
"_libiconv_close", referenced from:
llvm bitcode in utils.o
"_libiconv", referenced from:
llvm bitcode in utils.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [zsh] Error 1
make: *** [install.bin] Error 2
It seems those three libraries aren't linked or something. To be honest I'm a Ruby Developer and never have to compile anything so don't really know where to go to fix this. It happens when I compile anything from source.
In the example above that is the output when running make
when installing zsh