gpt4 book ai didi

shared-libraries - libltdl.so.3 : cannot open shared object file: No such file or directory in Ubuntu 14. 04

转载 作者:行者123 更新时间:2023-12-02 01:34:22 24 4
gpt4 key购买 nike

我有一个程序需要共享库 libltdl.so.3。在 14.04 中运行此程序时遇到以下错误:

error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory

我已经安装并更新了 libtool。在运行 atp-get install libltdl3 时,我得到以下输出

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libltdl3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libltdl3' has no installation candidate

在运行 locate libltdl.so 时我得到

/usr/lib/x86_64-linux-gnu/libltdl.so
/usr/lib/x86_64-linux-gnu/libltdl.so.7
/usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0

谁能告诉我如何获取 libltdl.so.3?

最佳答案

我找到的唯一解决方案是创建一个符号链接(symbolic link)

ln -s /usr/lib/x86_64-linux-gnu/libltdl.so /usr/lib/x86_64-linux-gnu/libltdl.so.3

参见:http://englanders.us/~jason/howtos.php?howto=libtool

关于shared-libraries - libltdl.so.3 : cannot open shared object file: No such file or directory in Ubuntu 14. 04,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32071695/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com