Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 797
Mayank Patel Avatar asked Nov 26 '25 20:11

Mayank Patel


1 Answers

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

like image 126
vhuber Avatar answered Nov 29 '25 15:11

vhuber



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!