当我想要运行一个程序时出现以下错误:
static:/usr/local/delegate# ./linux64-dg
./linux64-dg: error while loading shared libraries: libpam.so.0: cannot open shared object file: No such file or directory
然后我检查该库是否存在,结果是存在的!!
static:/usr/local/delegate# ldconfig -p | grep libpam.so.0
libpam.so.0 (libc6,x86-64) => /lib/libpam.so.0
但 ldd 显示无法加载:
static:/usr/local/delegate# ldd linux64-dg
linux-gate.so.1 => (0xf7eec000)
libnsl.so.1 => /lib32/libnsl.so.1 (0xf7ecb000)
libdl.so.2 => /lib32/libdl.so.2 (0xf7ec7000)
libutil.so.1 => /lib32/libutil.so.1 (0xf7ec3000)
libpam.so.0 => not found
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7eab000)
libc.so.6 => /lib32/libc.so.6 (0xf7d59000)
/lib/ld-linux.so.2 (0xf7eed000)
我该怎么做才能解决这个问题?
(跑步ldconfig
没有帮助。)
非常感谢Jan
答案1
好的,太好了,现在可以正常工作了。我认为委托的命名约定有些令人困惑,如下所示:http://www.delegate.org/mail-lists/delegate-en/3993
我想每个人都希望“something64”是 64 位架构而不是“大文件功能”。