簡體   English   中英

libltdl.so.3:無法打開共享對象文件:Ubuntu 14.04中沒有這樣的文件或目錄

[英]libltdl.so.3: cannot open shared object file: No such file or directory in Ubuntu 14.04

我有一個程序需要共享庫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?

我找到的唯一解決方案是創建符號鏈接

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM