[求助] 链接so库文件

软件和网站开发以及相关技术探讨
回复
lightning123
帖子: 19
注册时间: 2007-02-25 12:59
送出感谢: 0
接收感谢: 0

[求助] 链接so库文件

#1

帖子 lightning123 » 2007-10-18 16:51

在使用程序时出现以下问题:

thunder@thunder:~$ cd /mnt/study/CodeTEST/bin/
thunder@thunder:/mnt/study/CodeTEST/bin$ ./ctmgr
/mnt/study/CodeTEST/lib/host/vbin/linux/python-2.3/bin/python: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
thunder@thunder:/mnt/study/CodeTEST/bin$ ldd ../lib/host/vbin/linux/python-2.3/bin/python
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7fb1000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7fad000)
libutil.so.1 => /lib/tls/i686/cmov/libutil.so.1 (0xb7fa8000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f83000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e39000)
/lib/ld-linux.so.2 (0xb7fdf000)
thunder@thunder:/mnt/study/CodeTEST/bin$ ls -l /lib/tls/i686/cmov/libpthread.so.0
lrwxrwxrwx 1 root root 19 2007-10-11 15:16 /lib/tls/i686/cmov/libpthread.so.0 -> libpthread-2.6.1.so

程序找不到so文件,但这个文件是有的

另这个库文件有两个:

thunder@thunder:/mnt/study/CodeTEST/bin$ locate libpthread.so.0
/lib/libpthread.so.0
/lib/tls/i686/cmov/libpthread.so.0

不知如何解决,望大虾指教
回复

回到 “软件/网站开发”