简体   繁体   中英

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

I have a program the requires shared library libltdl.so.3. While running this program in 14.04 i am encountering following error:

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

I have libtool already install and updated. While running atp-get install libltdl3 i get following output

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

While running locate libltdl.so i get

/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

Can someone tell me how to get libltdl.so.3?

The only solution I found is to create a symlink

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM