git-core-0.99.9g: mailinfo.c:448: undefined reference to `libiconv_open'
- From
- Roberto Nibali <ratz@drugphish.ch>
- Date
- Nov 12, 2005, 10:27 UTC
- Message-ID
- <4375C37E.6030509@drugphish.ch>
Hello,
I've tried to compile git-core-0.99.9g on an old SuSE 9.1 box with a self-compiled libiconv. Anyone can shed a light on the following?
gcc -o mailinfo.o -c -g -O2 -Wall -DSHA1_HEADER='<openssl/sha.h>' mailinfo.c gcc -g -O2 -Wall -DSHA1_HEADER='<openssl/sha.h>' -o git-mailinfo mailinfo.o libgit.a mailinfo.o(.text+0x799): In function `convert_to_utf8': /data/down/git-core-0.99.9g/mailinfo.c:448: undefined reference to `libiconv_open' mailinfo.o(.text+0x7f6):/data/down/git-core-0.99.9g/mailinfo.c:460: undefined reference to `libiconv' mailinfo.o(.text+0x801):/data/down/git-core-0.99.9g/mailinfo.c:461: undefined reference to `libiconv_close' collect2: ld returned 1 exit status make: *** [git-mailinfo] Error 1
# nm /usr/local/lib/libiconv.so | grep -E "libiconv_open|libiconv_close" 0000f550 T libiconv_close 0000f580 T libiconv_open
I might be missing something really obvious. It's not very important; just if you happen to know something regarding this issue I'd be interested.
Regards, Roberto Nibali, ratz
-- echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc