This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]