cannot open shared object file: No such file or directory
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
cannot open shared object file: No such file or directory
Dear gentlemen,
I am struggeling with a problem since 3 days with no results, the problem was similarly faced by other members but my case looks different.
After I finished installing Oracle 10g express, I proceeded by installing BAAN Vc application on debian.
When I reach a certain part of the installation I get the following error and the installation aborts.
/usr2/cdrom/ln.0000/bse/install/bin/compress6.2: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
/usr2/cdrom/ln.0000/bse/install/bin/bshell6.2: error while loading shared libraries: libpam.so.0: cannot open shared object file: No such file or directory
I installed and upgraded the library
apt-get install libstdc++5
Reading package lists... Done
Building dependency tree
Reading state information... Done
libstdc++5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Searched for the file libstdc++.so.5
find / -name libstdc++.so.5 –print
/usr/lib/libstdc++.so.5
ls -l /usr/lib/libstdc++.so.5
lrwxrwxrwx 1 root root 18 May 13 14:50 /usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.7
find / -name libstdc++.so.5.0.7
/usr/lib/libstdc++.so.5.0.7
ls -l /usr/lib/libstdc++.so.5.0.7
-rw-r--r-- 1 root root 829320 Jun 20 2010 /usr/lib/libstdc++.so.5.0.7
Executed the library
/usr/lib/libstdc++.so.5.0.7
-bash: /usr/lib/libstdc++.so.5.0.7: Permission denied
chmod 777 /usr/lib/libstdc++.so.5.0.7
Executed the library
/usr/lib/libstdc++.so.5.0.7
Segmentation fault
Rerun the installation and ended up with the same problem
Not sure if this is the right command
apt-get install libpam0g
Reading package lists... Done
Building dependency tree
Reading state information... Done
libpam0g is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I am just hoping that you have selected the right package meaning 32bit or 64bit installer depending upon your kernel. Also, can you check ls -l /usr/lib/libstdc++.so.5.0.7
I am just hoping that you have selected the right package meaning 32bit or 64bit installer depending upon your kernel. Also, can you check ls -l /usr/lib/libstdc++.so.5.0.7
Hello,
ls -l /usr/lib/libstdc++.so.5.0.7
-rwxrwxrwx 1 root root 829320 Jun 20 2010 /usr/lib/libstdc++.so.5.0.7
It is a 64 bit debian
Distributor ID: Debian
Description: Debian GNU/Linux 6.0.5 (n/a)
Release: 6.0.5
Codename: n/a
# uname -mrs
Linux 2.6.32-042stab053.5 x86_64
Is there any different command i need to use to install the 64bit versin of library other than the above shown used one?
---------- Post added 05-14-12 at 12:34 PM ----------
Quote:
Originally Posted by mnakkach
Hello,
ls -l /usr/lib/libstdc++.so.5.0.7
-rwxrwxrwx 1 root root 829320 Jun 20 2010 /usr/lib/libstdc++.so.5.0.7
It is a 64 bit debian
Distributor ID: Debian
Description: Debian GNU/Linux 6.0.5 (n/a)
Release: 6.0.5
Codename: n/a
# uname -mrs
Linux 2.6.32-042stab053.5 x86_64
Is there any different command i need to use to install the 64bit versin of library other than the above shown used one?
Regarding the software I'm installan BAAN, it is a 64bit version.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.