LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2009, 04:56 AM   #1
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Rep: Reputation: 30
library version problem


When I tried to run a package , it pops the below messages ,

"error while loading shared libraries: libstdc++.so.2.8: cannot open shared object file: No such file or directory"

I found that , in my system , only have below version of library .

#locate libstdc++.so
/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.so.5.0.7
/usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.8


It seems the current version is newer than the package requires , can advise what can I do ? downgrade the library to libstdc++.so.2.8 is suitable ? any risk ? thx
 
Old 09-29-2009, 05:13 AM   #2
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by elainelaw View Post
When I tried to run a package , it pops the below messages ,

"error while loading shared libraries: libstdc++.so.2.8: cannot open shared object file: No such file or directory"

I found that , in my system , only have below version of library .

#locate libstdc++.so
/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.so.5.0.7
/usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.8


It seems the current version is newer than the package requires , can advise what can I do ? downgrade the library to libstdc++.so.2.8 is suitable ? any risk ? thx
My primary question is about the meaning of "I tried to run a package ...". Do you mean install a package? How did you try to install it? If you used yum or apt-get, these package managers should have coped with the dependency issues automatically.
 
Old 09-29-2009, 03:26 PM   #3
AngTheo789
Member
 
Registered: Sep 2009
Posts: 110

Rep: Reputation: 24
Maybe your installed application is a bit older and requires older library versions. This happens sometimes and it's the main reason why several distributions provide so-called compatibility libraries. In your case you should look for compatlibs-stdc++ or something named like that. A Google search should give relevant results.
 
Old 09-30-2009, 02:06 AM   #4
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by AngTheo789 View Post
Maybe your installed application is a bit older and requires older library versions. This happens sometimes and it's the main reason why several distributions provide so-called compatibility libraries. In your case you should look for compatlibs-stdc++ or something named like that. A Google search should give relevant results.
thx reply,

I tried to search compatibility , stdc++ in rpmfind.net , but can't find anything , can you provide another name ( or exact name) for me to search ? thx
 
Old 09-30-2009, 02:07 AM   #5
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by lutusp View Post
My primary question is about the meaning of "I tried to run a package ...". Do you mean install a package? How did you try to install it? If you used yum or apt-get, these package managers should have coped with the dependency issues automatically.
Yes , what I mean is install .

I am not use yum , apt-get to install ( we have problem to directly connect internet ) .
 
Old 10-08-2009, 03:04 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Running a last century application may not be easy at all.

Googling .. libstdc++.so.2.8 rpm ..
my browser shows this in the first hit :
http://rpm.pbone.net/index.php3/stat....i386.rpm.html
> > compat-libstdc++-3.2-1.i386.rpm

which is for using even older applications
on the very old Redhat 7.0 ( Dec 2000 ).
.....
 
  


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
library version ust Linux - Software 1 01-07-2008 05:55 AM
library version sha_neb Linux - Software 3 08-01-2007 02:07 AM
library version?? kaz2100 Debian 1 11-11-2006 09:58 AM
Get Library Version Using AWK allomeen Linux - General 4 05-02-2006 12:13 PM
Shared Library Version rahul_kulkarni Linux - Newbie 1 02-22-2005 05:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 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