Linux - NewbieThis 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
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.
In my attempt to install packages that were considered "failed dependenices", I installed the package called " compat gcc-7.3-2.96.126.src.rpm". This package is supposed to contain the files "libstdc++-libc6.2-2.so.3".
I then read on a site to link these two files. Which I have done but I still couldn't install avg antivirus software. Now, when I type in ls -l the files are flashing in red.
How do I fix it up, could you tell me please?
Here's what I typed at the bash terminal:
# ln -s /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so/usr/lib/libstdc++-libc6.1-2.so.3
Also, where can I actually find the proper missing dependencies for programs? AVG for instance and tuxpaint
It appears you made an error in the symbolic link creation, in that you didn't put a space between the the target and the link name. You should be able to do:
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
You can also use the -f option to force and overwrite of the softlink.
ln -sf /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so /usr/lib/libstdc++-libc6.1-2.so.3
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
I have the same version file /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so and it comes from the rpm package. My system is CentOS 4.4+. Did not see which distro you are using?
compat-libstdc++-296-2.96-132.7.2.rpm
Then the file /usr/lib/libstdc++-libc6.2-2.so.3 is a symbloic link of /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
Now in your first post you changed the link name from what you need from the beginning to libstdc++-libc6.1-2.so.3 instead of libstdc++-libc6.2-2.so.3
So to create the link if /usr/lib/libstdc++-libc6.2-2.so.3 exist is to use the command
ln -s /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so /usr/lib/libstdc++-libc6.2-2.so.3
First make sure the file /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so exist
Second make sure the link /usr/lib/libstdc++-libc6.2-2.so.3 does not exist.
Also what you have is a source rpm. How are you installing it?
Brian1 makes a good point. That "src" in the RPM name means that what you have is probably not what you want. That RPM gives you the source code for compiling the libraries, not the libraries themselves. I think what you want is an RPM with the same name, without the "src" in the name. I could be wrong (you might be compiling the libraries from source), but that RPM will not work without being compiled first.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.