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.
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
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
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
[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]
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:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.