LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   How to install libstdc++-libc6.2-2.so.3? (https://www.linuxquestions.org/questions/fedora-35/how-to-install-libstdc-libc6-2-2-so-3-a-173401/)

Muzilli 04-22-2004 01:42 PM

How to install libstdc++-libc6.2-2.so.3?
 
Howdy all,
when I try to run, after installed, my software it returns me an error:

./bin/jbuilder: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory

I've downloaded this lib, but I could not install it?
(compat-gcc-7.3-2.96.118.src.rpm)

How can I do this in Fedora Core 1?

TIA,

Marcelo Muzilli

marghorp 04-22-2004 06:33 PM

find RPMS on the net and install them. it should be easy. I did it yesterday. I don't know the address, but try google or some RPM search engine. you should not have problems. Are you running a GUI like KDE or GNOME? Just open konqueror and navigate to the new rpm and double click it. It should unpack itself.

jon-do 04-23-2004 05:49 AM

Re: How to install libstdc++-libc6.2-2.so.3?
 
Quote:

Originally posted by Muzilli


I've downloaded this lib, but I could not install it?
(compat-gcc-7.3-2.96.118.src.rpm)

How can I do this in Fedora Core 1?

TIA,

Marcelo Muzilli

Are you sure you wanted to install the source rpm?
If not the rpm you wanted is compat-gcc-7.3-2.96.118.rpm

marghorp 04-23-2004 06:38 AM

I had same problems. I ended up installing SRC and you will find it in /usr/src/redhat/SOURCES/ in there you will find the tarball of the libdc++ and you have to untar it and then compile it and install.

tar -zxvf blablabla.tar.gz
cd blablabla
./configure; make; make install; make clean

jon-do 04-23-2004 07:42 AM

compat-gcc depends on binutils, glibc-devel, glibc. If you have the dependecies it should work.
Are you using a package installer like yum or apt?

jokari 05-24-2004 09:12 AM

Hi,

For all the people who encounter the same problem, there is an rpm called
compat-libstdc++

which for Fedora 1 is compat-libstdc++-7.3-2.96.118 RPM for i386

This package provides the library and doesn't requires anything else

Hopefully it will helps someone,

Joris

FreakboY 06-20-2004 03:40 PM

jokari:

thanks, it did help me...

freetolio 08-05-2004 10:38 AM

hey
 
You helped me too

Vorbizz 08-06-2004 02:40 AM

And you helped me too ;) Thanks :)

FC2tick 08-17-2004 10:30 AM

Installing libstdc++-libc6.2-2.so.3.
 
When you get the error - libstdc++-libc6.2-2.so.3 is missing or not found, it means that the shared library is not installed. This shared library can be found under /usr/lib path.

In order to install the shared library, please make sure that you download the binary RPM and not the source RPM. You can find the binaries on the following website.
"http://rpmfind.net/linux/RPM/redhat/9/i386/compat-gcc-7.3-2.96.118.i386.html"
"http://rpmfind.net/linux/RPM/redhat/9/i386/compat-gcc-c++-7.3-2.96.118.i386.html"
"http://rpmfind.net/linux/RPM/redhat/9/i386/compat-libstdc++-devel-7.3-2.96.118.i386.html"

Download and install the binaries (using the rpm -ivh command) in the following sequence. Please note that there are dependencies in the binaries and it is important that you install them in the correct sequence.

1. compat-gcc-7.3-2.96.118.i386.rpm
2. compat-gcc-c++-7.3-2.96.118.i386.rpm
3. compat-libstdc++-devel-7.3-2.96.118.i386.rpm

After you install the above RPMS, you can verify the libstdc++-libc6.2-2.so.3 shared library in the /usr/lib directory.

Hope this helps!!

neerajk 08-24-2004 11:31 PM

I believe the sequence is:
1. compat-gcc-c++-7.3-2.96.118.i386.rpm
2. compat-libstdc++-devel-7.3-2.96.118.i386.rpm
3. compat-gcc-7.3-2.96.118.i386.rpm

hamcycle 10-29-2004 04:03 PM

failed dependencies on fedora core 2
 
Same problem, but I'm still stuck. While the first rpm package is able to install, the following packages do not recognize it.

1)
%rpm -ihv compat-gcc-7.3-2.96. 118.i386.rpm
Preparing... ########################################### [100%]
package compat-gcc-7.3-2.96.118 is already installed

2a)
[root@localhost]# rpm -ihv compat-libstdc++-devel-7.3-2.96.118.i386.rpm
error: Failed dependencies:
compat-libstdc++ = 7.3-2.96.118 is needed by com pat-libstdc++-devel-7.3-2.96.118

2b)
[root@localhost]# rpm -ivh compat-gcc-c++-7.3-2.96.118.i386.rpm
error: Failed dependencies:
compat-gcc = 7.3-2.96.118 is needed by compat-gcc-c++-7.3-2.96.118
compat-libstdc++ = 7.3 is needed by compat-gcc-c++-7.3-2.96.118
compat-libstdc++-devel = 7.3 is needed by compat-gcc-c++-7.3-2.96.118

2c)
[root@localhost] rpm -ihv compat-libstdc++-devel-7.3-2.96.118.i386.rpm compat-gcc-c++-7.3-2.96.118.i386.rpm
error: Failed dependencies:
compat-libstdc++ = 7.3-2.96.118 is needed by compat-libstdc++-devel-7.3-2.96.118
compat-gcc = 7.3-2.96.118 is needed by compat-gcc-c++-7.3-2.96.118
compat-libstdc++ = 7.3 is needed by compat-gcc-c++-7.3-2.96.118

FreakboY 10-29-2004 05:09 PM

hamcycle: did you install in sequence just like neerajk recommended!??

hamcycle 10-30-2004 05:20 AM

Freakboy,

Yeah, I cut and pasted my efforts above. I forgot to mention that I have the latest Fedora Core installed (2.6.8-1.521) which leads me to guess why my result is different than the folks above.

The first rpm (the plain old c rpm) installs fine. The second rpm (the devel one) doesn't seem to recognize that the first is installed.

FunkyRes 10-30-2004 07:49 PM

yum install libstdc++-compat

That will install the package and any dependencies.


All times are GMT -5. The time now is 05:27 PM.