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

4.1k views Asked by At

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?

1

There are 1 answers

0
vhuber On BEST ANSWER

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