Tech Support > Computers & Technology > Programming > Version `GLIBC_PRIVATE' not found
Version `GLIBC_PRIVATE' not found
Posted by Ralf on March 7th, 2004


Hello,

I have got Mity SoC module (it is embedded i386
PC-like board), and use xLinux R3
(http://www.dmp.com.tw/tech/xlinux/r3.htm ,
Kernel 2.4.17, glibc 2.2.4).

I developed some application witch just
reads messages from messages queue,
and sends them to the other messages queue.
My application uses threads (I use libpthread
library).

I compiled my application under Red Hat 7.3.
After that I run 'ldd myProgram' and it showed:

libpthread.so.0 => /lib/pthread.so.0 (0x40017000)
libc.so.6 => /lib/libc.so.6 (0x4002d000)
lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

I copied my application from Red Hat 7.3 machine
into hdd of Mity Soc, and tried to run it.
Unfortunatelly, I saw the message:

../myProgram: error while loading shared libraries:
libpthread.so.0: cannot open shared object file:
No such file or directory

So, I copied libpthread.so.0 (link) and pthread-0.9.so
from Red Hat 7.3 to Mity Soc`s /lib, and tried to run my
application again.
I saw the message:

../myProgram: /lib/libc.so.6: version `GLIBC_PRIVATE' not
found (required by /lib/libpthread.so.0)

I have no idea what to do next to run my application.
I would be glad, if you provide my with a solution.

Thanks in advance.

Regards,
Ralf
PS. I can`t compile program under xLinux R3 because
there is no compiler.



Similar Posts