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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
08-10-2005, 07:46 PM
|
#1
|
LQ Newbie
Registered: Jun 2005
Distribution: Mandriva
Posts: 14
Rep:
|
libstdc++.so.5 problems
yo, been having this problem for awhile
./firefox-installer-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
how can I install libstdc?
thanks
lashnjo
|
|
|
08-11-2005, 02:29 PM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
|
|
|
08-11-2005, 02:29 PM
|
#3
|
Member
Registered: Feb 2004
Location: Canada
Distribution: GNU/Linux Debian (Etch)
Posts: 319
Rep:
|
I have experianced the same issue on Fedora, what you should do is download the correct libraries from
http://gcc.gnu.org/libstdc++/index.html
With Fedora I just used my packaging system (APT) and downloaded them. I hope that helps you.
|
|
|
08-16-2005, 01:05 AM
|
#4
|
LQ Newbie
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26
Rep:
|
to previous
i too am using fedora
what is the packaging ATP you speak of
because i have the same issues
thanks
|
|
|
08-18-2005, 07:38 AM
|
#5
|
LQ Newbie
Registered: May 2005
Location: Closer than you think.
Distribution: Mandriva (latest)
Posts: 23
Rep:
|
GCC
It's now part of GCC as of version 3.0.
|
|
|
08-18-2005, 09:02 AM
|
#6
|
LQ Newbie
Registered: Jun 2005
Posts: 19
Rep:
|
Re: to previous
Quote:
Originally posted by terrence
i too am using fedora
what is the packaging ATP you speak of
because i have the same issues
thanks
|
Here you go, libstdc++.so.5 rpm
http://rpm.pbone.net/index.php3/stat....i386.rpm.html
|
|
|
08-18-2005, 01:11 PM
|
#7
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
On Fedora, the right way to solve this problem is doing,
Code:
#yum install compat-libstdc++-33
Last edited by reddazz; 08-18-2005 at 01:12 PM.
|
|
|
08-19-2005, 08:59 AM
|
#8
|
LQ Newbie
Registered: May 2005
Location: Closer than you think.
Distribution: Mandriva (latest)
Posts: 23
Rep:
|
Quote:
Originally posted by reddazz
|
I tried doing this and got silence. Does this mean it's already installed? I'm trying to install kdirstat and get the following:
rpm -i kdir*
error: Failed dependencies:
libstdc++.so.5 is needed by kdirstat-2.4.0-0.i586
libstdc++.so.5(CXXABI_1.2) is needed by kdirstat-2.4.0-0.i586
libstdc++.so.5(GLIBCPP_3.2) is needed by kdirstat-2.4.0-0.i586
|
|
|
08-24-2005, 11:06 AM
|
#9
|
Member
Registered: Aug 2005
Location: Solihull, UK
Distribution: Fedora 39
Posts: 220
Rep:
|
I tried installing the libraries and all seemed to go well until - suddenly - a problem.
This is what I got.
Code:
Setting up Install Process
Setting up repositories
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 354 kB 00:01
updates-re: ################################################## 968/968
Added 968 new packages, deleted 0 old in 9.59 seconds
primary.xml.gz 100% |=========================| 632 kB 00:03
extras : ################################################## 1813/1813
Added 1813 new packages, deleted 0 old in 12.70 seconds
primary.xml.gz 100% |=========================| 824 kB 02:32
base : ################################################## 2772/2772
Added 2772 new packages, deleted 0 old in 17.26 seconds
Parsing package install arguments
Examining compat-libstdc++-33-3.2.3-47.fc4.i386.rpm: compat-libstdc++-33 - 3.2.3-47.fc4.i386
Marking compat-libstdc++-33-3.2.3-47.fc4.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package compat-libstdc++-33.i386 0:3.2.3-47.fc4 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
compat-libstdc++-33 i386 3.2.3-47.fc4 compat-libstdc++-33-3.2.3-47.fc4.i386.rpm 716 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 716 k
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
public key not available for compat-libstdc++-33-3.2.3-47.fc4.i386.rpm
What else do I need to know?
|
|
|
08-24-2005, 11:41 AM
|
#10
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
Originally posted by garvint
I tried doing this and got silence. Does this mean it's already installed? I'm trying to install kdirstat and get the following:
rpm -i kdir*
error: Failed dependencies:
libstdc++.so.5 is needed by kdirstat-2.4.0-0.i586
libstdc++.so.5(CXXABI_1.2) is needed by kdirstat-2.4.0-0.i586
libstdc++.so.5(GLIBCPP_3.2) is needed by kdirstat-2.4.0-0.i586
|
Try going to easyurpmi and configure the main, contrib, plf and update repositories for your version of Mandriva. Once thats done, do as root
Code:
#urpmi.update -a
#urpmi --auto-select
#urpmi libstdc++5
|
|
|
08-24-2005, 11:44 AM
|
#11
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
What else do I need to know?
|
Try doing as root,
Code:
#rpm --import http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/RPM-GPG-KEY
#yum install compat-libstdc++-33
Last edited by reddazz; 08-24-2005 at 11:45 AM.
|
|
|
08-30-2005, 11:13 AM
|
#12
|
LQ Newbie
Registered: Aug 2005
Posts: 3
Rep:
|
[root@localhost Desktop]# yum install compat-libstdc++-33
Setting up Install Process
Setting up repositories
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for compat-libstdc++-33 to pack into transaction set.
compat-libstdc%2B%2B-33-3 100% |=========================| 2.7 kB 00:00
---> Package compat-libstdc++-33.i386 0:3.2.3-47.fc4 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
compat-libstdc++-33 i386 3.2.3-47.fc4 base 228 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 228 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): compat-libstdc++-3 100% |=========================| 228 kB 00:01
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
public key not available for compat-libstdc++-33-3.2.3-47.fc4.i386.rpm
Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Importing GPG key 0x4F2A6FD2 "Fedora Project <fedora@redhat.com>"
Is this ok [y/N]: y
Key imported successfully
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: compat-libstdc++-33 ######################### [1/1]
Installed: compat-libstdc++-33.i386 0:3.2.3-47.fc4
Complete!
|
|
|
08-30-2005, 02:34 PM
|
#13
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,256
|
FYI, looking at this issue from a "non-packaged" perspective, modules are expected to be found in /lib, /usr/lib, or any directory listed in /etc/ld.so.conf.
If you noodle around those directories, you'll notice that this directory contains a lot of variously-named files and "symbolic links" (indicated by "->") such as:
Code:
/lib/libssl.so.0.9.6b
/lib/libssl.so.0.9.7 -> libssl.so.0.9.7a
/lib/libssl.so.0.9.7a
/lib/libssl.so.2 -> libssl.so.0.9.6b
/lib/libssl.so.4 -> libssl.so.0.9.7a
/lib/libss.so.2 -> libss.so.2.0
/lib/libss.so.2.0
When a program wants to open a library, it can be generic (requesting "libssl.so.2") or it can be specific (I want "libssl.so.0.9.7a"). There will always be a symbolic-link for the major-version, such as "so.2."
There's just one more twist: the loader doesn't do a directory-search every time. It relies upon a library cache which is maintained by a program /sbin/ldconfig, which can only be run by root and which is normally run as part of package installation.
If a library that you expect to find "doesn't seem to be working," sometimes a re-run of ldconfig can fix it.
|
|
|
08-30-2005, 08:09 PM
|
#14
|
LQ Newbie
Registered: Aug 2005
Posts: 3
Rep:
|
I think the problem is caused by incomplete library installation since I did not install full package during Linux installation.
|
|
|
09-23-2005, 03:14 AM
|
#15
|
LQ Newbie
Registered: Sep 2005
Posts: 1
Rep:
|
Quote:
Originally posted by reddazz
|
I tried for hours and hours to get Real Player 10 Gold to install on Mandrake 2005 LE, and all I had to do was download the urpmi and then another few hours before I found this code posted. Thank you. Learning linux while I wait out this Hurricane Rita.
|
|
|
All times are GMT -5. The time now is 08:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|