gcc-3.4.1 cannot find libiconv for static linking.

Anthony de Almeida Lopes guerrilla_thought at gmx.de
Tue Sep 14 10:00:11 PDT 2004


i wanted to add also the following output.

# cat main.c 
main(){}

# gcc -static -liconv main.c -o main
/usr/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status

 # ldconfig -v | grep iconv
        libiconv_plug.so -> libiconv_plug.so
        libiconv.so.2 -> libiconv.so.2.2.0
        libiconv_plug.so -> libiconv_plug.so
        libiconv.so.2 -> libiconv.so.2.2.0





More information about the lfs-support mailing list