This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Can not use correct shared lib version.
- From: =?big5?b?ufnR0rTp?= <chiyung0227 at yahoo dot com dot tw>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 13 Oct 2008 00:50:33 +0800 (CST)
- Subject: Can not use correct shared lib version.
Hi,
I use cross-compiler to build my code in my PC Linux environment, and put the executable binary to another hardware board ( embedded Linux in this board).
I get the message said"error while loadingshard libraries: libdl.so.0: cannot open shared object file: No such file or directory ..."
I have add library path to environment, but I still encountered this error.
Actually, my Linux only has libdl.so.2 file, not have libdl.so.0. However, if I build this code with the gcc tool chain of my PC Linux, the executable binary can be exectued in PC.
Anything I need to do?
Many thanks!!
Chiyung Liao.
______________________________________________________________________________________________________
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing