LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 05-14-2012, 03:14 AM   #1
mnakkach
LQ Newbie
 
Registered: May 2012
Posts: 4

Rep: Reputation: Disabled
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

find / -name libpam.so.0 –print
/lib/libpam.so.0
/usr/lib/libpam.so.0

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.

echo $LD_LIBRARY_PATH
giving blank line

Please help
 
Old 05-14-2012, 03:24 AM   #2
zXi
LQ Newbie
 
Registered: May 2012
Posts: 28

Rep: Reputation: Disabled
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
 
Old 05-14-2012, 03:33 AM   #3
mnakkach
LQ Newbie
 
Registered: May 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zXi View Post
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 View Post
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.
 
Old 05-14-2012, 04:51 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
you can try the command file, I think those files are created for another type of linux (either 32bit or ?)
 
Old 05-14-2012, 04:57 AM   #5
mnakkach
LQ Newbie
 
Registered: May 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
you can try the command file, I think those files are created for another type of linux (either 32bit or ?)
file /usr2/cdrom/ln.0000/bse/install/bin/compress6.2
/usr2/cdrom/ln.0000/bse/install/bin/compress6.2: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped

you are right, it looks like this is a 32bit executable file, is there a way I can run them from my 64bit environment?
 
Old 05-14-2012, 05:12 AM   #6
zXi
LQ Newbie
 
Registered: May 2012
Posts: 28

Rep: Reputation: Disabled
yum is a good method to do so. Do check out this thread if useful
http://www.linuxquestions.org/questi...ng-yum-505352/
 
1 members found this post helpful.
Old 05-14-2012, 05:14 AM   #7
mnakkach
LQ Newbie
 
Registered: May 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zXi View Post
yum is a good method to do so. Do check out this thread if useful
http://www.linuxquestions.org/questi...ng-yum-505352/
It works, I typed apt-get install ia32-libs and I got libraries installed.

Thank you
 
Old 05-14-2012, 05:36 AM   #8
zXi
LQ Newbie
 
Registered: May 2012
Posts: 28

Rep: Reputation: Disabled
Lightbulb

Quote:
Originally Posted by mnakkach View Post
It works, I typed apt-get install ia32-libs and I got libraries installed.

Thank you
HTH,
zXi
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ??? Error: libXp.so.6: cannot open shared object file: No such file or directory castles Linux - Newbie 9 03-26-2018 04:31 AM
[SOLVED] cannot open shared object file: No such file or directory - but the file is there! Ook Slackware 5 08-24-2011 05:13 PM
libldap.so.2 cannot open shared object file- No such file or directory fuhrermasai Linux - Newbie 3 12-02-2010 11:41 PM
cannot open shared object file: No such file or directory (0) SQLSTATE=00000?? suliman_shah Programming 3 08-23-2007 01:02 PM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration