arm-linux-androideabi/bin/ld: cannot find -liconv

arm-linux-androideabi/bin/ld: cannot find -liconv
I googled this issue, and found some clue here: http://blog.sina.com.cn/s/blog_4156950c0100sfzz.html

it's something like missing *.so file :

cd /usr/lib
ln -s libXtst.so.6 libXtst.so

 

ln -s libiconv.so.2.5.0 libiconv.so

but I got this error:   ln: 创建符号链接 “libiconv.so”: 不允许的操作

I think it's because I'm using NTFS.

then I got an idea, i make a copy of libiconv.so.2.5.0 : cp libiconv.so.2.5.0 libiconv.so

It's ok now.

你可能感兴趣的:(c,File,idea)