Enuda
asked on
How can I resolve this DB2 install file libstdc++.so.5 is not found on the system error?
Hi all,
My environment is Vista 64bit, VMware running Red Hat Enterprise Linux server machine, DB2v9.5 64bit.
While trying to install DB2 in this linux machine, I am getting a "The required library file libstdc++.so.5 is not found on the system". Doing a ls /usr/lib | grep libstdc* shows libstdc++.so.6, and libstdc++.so.6.0.5.
Where can I find libstdc++.so.5, download and how do I install it?
Can anyone help with this?
Thanks
My environment is Vista 64bit, VMware running Red Hat Enterprise Linux server machine, DB2v9.5 64bit.
While trying to install DB2 in this linux machine, I am getting a "The required library file libstdc++.so.5 is not found on the system". Doing a ls /usr/lib | grep libstdc* shows libstdc++.so.6, and libstdc++.so.6.0.5.
Where can I find libstdc++.so.5, download and how do I install it?
Can anyone help with this?
Thanks
You can download the compatible libstdc++ install package here:
http://rpmfind.net/linux/rpm2html/search.php?query=libstdc%2B%2B.so.5&submit=Search+...&system=&arch=
I really need to bookmark this page. It takes me about 10 minutes to find it every time that I need it.. :)
Kent
ASKER
Hello kdo,
I have tried your recommendation and the install still failed with the same ""The required library file libstdc++.so.5 is not found on the system".
I visited the link you gave and I was even more confused. I found one entry for Red Hat Linux 9
"libstdc++-3.2.2-5.i386.ht ml GNU Standard C++ Library Red Hat Linux 9 for i386 libstdc++-3.2.2-5.i386.rpm " and don't know if this rpm is the right one for my version of RedHat linux. I have enterprise linux 5 64bit.
Finally, assuming this is the right one or any other that you may recommend, do I just download it and follow what steps to install it?
Thanks
I have tried your recommendation and the install still failed with the same ""The required library file libstdc++.so.5 is not found on the system".
I visited the link you gave and I was even more confused. I found one entry for Red Hat Linux 9
"libstdc++-3.2.2-5.i386.ht
Finally, assuming this is the right one or any other that you may recommend, do I just download it and follow what steps to install it?
Thanks
Hi Enuda,
I've got DB2 running on Fedora 10 Beta, 64-bit version. It took me a while to get the right library and link it, but the process should be the same for Fedora 9.
One of the links on that page should be to here:
http://rpmfind.net//linux/RPM/fedora/9/x86_64/compat-libstdc++-33-3.2.3-63.i386.html
That's just for verification. :)
On your linux box, as root enter the command:
yum -y install compat-libstdc++-33.x86_64
That should install the library /usr/lib/libstdc++.so.5.0. 7. (Just in case, make sure that it's there.) Then create a link to it
ln -s /usr/lib/libstdc++.so.5.0. 7 /usr/lib/libstdc++.so.5
At this point, the DB2 installation should run just fine.
Kent
I've got DB2 running on Fedora 10 Beta, 64-bit version. It took me a while to get the right library and link it, but the process should be the same for Fedora 9.
One of the links on that page should be to here:
http://rpmfind.net//linux/RPM/fedora/9/x86_64/compat-libstdc++-33-3.2.3-63.i386.html
That's just for verification. :)
On your linux box, as root enter the command:
yum -y install compat-libstdc++-33.x86_64
That should install the library /usr/lib/libstdc++.so.5.0.
ln -s /usr/lib/libstdc++.so.5.0.
At this point, the DB2 installation should run just fine.
Kent
ASKER
Ok, I will do that. But looking at /usr/lib/libstd*, I found this:
lrwxrwxrwx 1 root root 27 Nov 12 05:29 /usr/lib/libstdc++.so.5 -> /usr/lib/libstdc++.so.6.0. 5
lrwxrwxrwx 1 root root 18 Nov 9 20:42 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.8
-rwxr-xr-x 1 root root 925520 Jul 10 2007 /usr/lib/libstdc++.so.6.0. 8
Does this mean libstdc++.so.5 exist or this is just "mirage"? Symbolic link?
lrwxrwxrwx 1 root root 27 Nov 12 05:29 /usr/lib/libstdc++.so.5 -> /usr/lib/libstdc++.so.6.0.
lrwxrwxrwx 1 root root 18 Nov 9 20:42 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.8
-rwxr-xr-x 1 root root 925520 Jul 10 2007 /usr/lib/libstdc++.so.6.0.
Does this mean libstdc++.so.5 exist or this is just "mirage"? Symbolic link?
ASKER
kdo,
I have just tried yum -y install compat-libstdc++-33.x86_64 and I got the following:
[root@localhost ~]# yum -y install compat-libstdc++-33.x86_64
Loading "security" plugin
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
No Match for argument: compat-libstdc++-33.x86_64
Nothing to do
[root@localhost ~]#
It appears I am missing something...any clue what I need to have?
I have just tried yum -y install compat-libstdc++-33.x86_64
[root@localhost ~]# yum -y install compat-libstdc++-33.x86_64
Loading "security" plugin
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
No Match for argument: compat-libstdc++-33.x86_64
Nothing to do
[root@localhost ~]#
It appears I am missing something...any clue what I need to have?
Ok. Perhaps the library is already installed. Let's find out. :)
As root, run this and post the results:
find / -name "libstdc++*"
Kent
As root, run this and post the results:
find / -name "libstdc++*"
Kent
ASKER
kdo,
There is no libstdc++.so.5 listed. I think what happened is that I did a symbolic link as you suggested yesterday: ln -s /usr/lib/libstdc++.so.5.0. 7 /usr/lib/libstdc++.so.5. It appears the library is not installed.
Here is what I found:
[root@localhost ~]# find / -name "libstdc++*"
/usr/lib/vmware-tools/lib3 2/libstdc+ +.so.6
/usr/lib/vmware-tools/lib3 2/libstdc+ +.so.6/lib stdc++.so. 6
/usr/lib/vmware-tools/lib6 4/libstdc+ +.so.6
/usr/lib/vmware-tools/lib6 4/libstdc+ +.so.6/lib stdc++.so. 6
/usr/lib/libstdc++.so.6.0. 8
/usr/lib/libstdc++.so.6
/usr/lib64/libstdc++.so.6. 0.8
/usr/lib64/libstdc++.so.6
There is no libstdc++.so.5 listed. I think what happened is that I did a symbolic link as you suggested yesterday: ln -s /usr/lib/libstdc++.so.5.0.
Here is what I found:
[root@localhost ~]# find / -name "libstdc++*"
/usr/lib/vmware-tools/lib3
/usr/lib/vmware-tools/lib3
/usr/lib/vmware-tools/lib6
/usr/lib/vmware-tools/lib6
/usr/lib/libstdc++.so.6.0.
/usr/lib/libstdc++.so.6
/usr/lib64/libstdc++.so.6.
/usr/lib64/libstdc++.so.6
Yeah,
Version 6 of the library is not compatible with version 5. We're going to have to install the right library. I don't remember if the 64-bit library or 32-bit library is required, so we might have to experiment. (No worries -- it shouldn't affect anything else.)
Back on this page:
http://rpmfind.net/linux/rpm2html/search.php?query=libstdc%2B%2B.so.5&submit=Search+...&system=&arch=
Is the link for Fedora 9 for x86_64. Let's start there. The link on the right side of the page is to the ftp site. Let's ftp the rpm to your server.
ftp://rpmfind.net/linux/fedora/releases/9/Everything/x86_64/os/Packages/compat-libstdc++-33-3.2.3-63.i386.rpm
Once the library is downloaded, let yum install it
yum -y install {path_name/compat-libstdc+ +-33-3.2.3 -63.i386.r pm}
Kent
Version 6 of the library is not compatible with version 5. We're going to have to install the right library. I don't remember if the 64-bit library or 32-bit library is required, so we might have to experiment. (No worries -- it shouldn't affect anything else.)
Back on this page:
http://rpmfind.net/linux/rpm2html/search.php?query=libstdc%2B%2B.so.5&submit=Search+...&system=&arch=
Is the link for Fedora 9 for x86_64. Let's start there. The link on the right side of the page is to the ftp site. Let's ftp the rpm to your server.
ftp://rpmfind.net/linux/fedora/releases/9/Everything/x86_64/os/Packages/compat-libstdc++-33-3.2.3-63.i386.rpm
Once the library is downloaded, let yum install it
yum -y install {path_name/compat-libstdc+
Kent
ASKER
Ok, let me work on this...be back shortly...
ASKER
kdo,
Here's the result from yum install:
[root@localhost anyanso001]# yum -y install compat-libstdc++-33-3.2.3- 63.i386.rp m
Loading "security" plugin
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Examining compat-libstdc++-33-3.2.3- 63.i386.rp m: compat-libstdc++-33 - 3.2.3-63.i386
Marking compat-libstdc++-33-3.2.3- 63.i386.rp m to be installed
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package compat-libstdc++-33.i386 0:3.2.3-63 set to be updated
--> Running transaction check
Dependencies Resolved
========================== ========== ========== ========== ========== ========== =
Package Arch Version Repository Size
========================== ========== ========== ========== ========== ========== =
Installing:
compat-libstdc++-33 i386 3.2.3-63 compat-libstdc++-33-3.2.3- 63.i386.rp m 716 k
Transaction Summary
========================== ========== ========== ========== ========== ========== =
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 716 k
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Any of this make sense to you?
Here's the result from yum install:
[root@localhost anyanso001]# yum -y install compat-libstdc++-33-3.2.3-
Loading "security" plugin
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Examining compat-libstdc++-33-3.2.3-
Marking compat-libstdc++-33-3.2.3-
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package compat-libstdc++-33.i386 0:3.2.3-63 set to be updated
--> Running transaction check
Dependencies Resolved
==========================
Package Arch Version Repository Size
==========================
Installing:
compat-libstdc++-33 i386 3.2.3-63 compat-libstdc++-33-3.2.3-
Transaction Summary
==========================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 716 k
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Any of this make sense to you?
Yeah. :)
Let's see what was put where. Run this and post the answers:
find /usr -name "libstdc++*"
Let's see what was put where. Run this and post the answers:
find /usr -name "libstdc++*"
ASKER
No such luck! It does not appear to have installed anything...
[root@localhost anyanso001]# find /usr -name "libstdc++*"
/usr/lib/vmware-tools/lib3 2/libstdc+ +.so.6
/usr/lib/vmware-tools/lib3 2/libstdc+ +.so.6/lib stdc++.so. 6
/usr/lib/vmware-tools/lib6 4/libstdc+ +.so.6
/usr/lib/vmware-tools/lib6 4/libstdc+ +.so.6/lib stdc++.so. 6
/usr/lib/libstdc++.so.6.0. 8
/usr/lib/libstdc++.so.6
/usr/lib64/libstdc++.so.6. 0.8
/usr/lib64/libstdc++.so.6
[root@localhost anyanso001]#
[root@localhost anyanso001]# find /usr -name "libstdc++*"
/usr/lib/vmware-tools/lib3
/usr/lib/vmware-tools/lib3
/usr/lib/vmware-tools/lib6
/usr/lib/vmware-tools/lib6
/usr/lib/libstdc++.so.6.0.
/usr/lib/libstdc++.so.6
/usr/lib64/libstdc++.so.6.
/usr/lib64/libstdc++.so.6
[root@localhost anyanso001]#
I really don't know what's going on here. I installed libstdc++-33-3.2.3-64.x86_ 64 from this same site, and everything is fine.
Try installing the rpm with that name. It's labelled 'Compatibility standard C++ libraries Fedora Development for x86_64
Kent
'
Try installing the rpm with that name. It's labelled 'Compatibility standard C++ libraries Fedora Development for x86_64
Kent
'
ASKER
Ok, I'll get that done now...be back shortly
ASKER
kdo,
I've gone thru the same cycle we did with the earlier package and nothing has changed. I got the same result as before as shown below. Something is weid about this.
[root@localhost Desktop]# yum -y install compat-libstdc++-33-3.2.3- 64.i386.rp m
Loading "security" plugin
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Examining compat-libstdc++-33-3.2.3- 64.i386.rp m: compat-libstdc++-33 - 3.2.3-64.i386
Marking compat-libstdc++-33-3.2.3- 64.i386.rp m to be installed
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package compat-libstdc++-33.i386 0:3.2.3-64 set to be updated
--> Running transaction check
Dependencies Resolved
========================== ========== ========== ========== ========== ========== =
Package Arch Version Repository Size
========================== ========== ========== ========== ========== ========== =
Installing:
compat-libstdc++-33 i386 3.2.3-64 compat-libstdc++-33-3.2.3- 64.i386.rp m 704 k
Transaction Summary
========================== ========== ========== ========== ========== ========== =
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 704 k
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4ebfc273
Public key for compat-libstdc++-33-3.2.3- 64.i386.rp m is not installed
[root@localhost Desktop]# find /usr -name "libstdc++*"
/usr/lib/vmware-tools/lib3 2/libstdc+ +.so.6
/usr/lib/vmware-tools/lib3 2/libstdc+ +.so.6/lib stdc++.so. 6
/usr/lib/vmware-tools/lib6 4/libstdc+ +.so.6
/usr/lib/vmware-tools/lib6 4/libstdc+ +.so.6/lib stdc++.so. 6
/usr/lib/libstdc++.so.6.0. 8
/usr/lib/libstdc++.so.6
/usr/lib64/libstdc++.so.6. 0.8
/usr/lib64/libstdc++.so.6
Have any other idea I can try? I'll do some more research or maybe get another distro with the full complement of packages?
I've gone thru the same cycle we did with the earlier package and nothing has changed. I got the same result as before as shown below. Something is weid about this.
[root@localhost Desktop]# yum -y install compat-libstdc++-33-3.2.3-
Loading "security" plugin
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Examining compat-libstdc++-33-3.2.3-
Marking compat-libstdc++-33-3.2.3-
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package compat-libstdc++-33.i386 0:3.2.3-64 set to be updated
--> Running transaction check
Dependencies Resolved
==========================
Package Arch Version Repository Size
==========================
Installing:
compat-libstdc++-33 i386 3.2.3-64 compat-libstdc++-33-3.2.3-
Transaction Summary
==========================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 704 k
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4ebfc273
Public key for compat-libstdc++-33-3.2.3-
[root@localhost Desktop]# find /usr -name "libstdc++*"
/usr/lib/vmware-tools/lib3
/usr/lib/vmware-tools/lib3
/usr/lib/vmware-tools/lib6
/usr/lib/vmware-tools/lib6
/usr/lib/libstdc++.so.6.0.
/usr/lib/libstdc++.so.6
/usr/lib64/libstdc++.so.6.
/usr/lib64/libstdc++.so.6
Have any other idea I can try? I'll do some more research or maybe get another distro with the full complement of packages?
Hi Enuda,
Try the 32-bit version of the library. I may be confused in continually sending you to the 64-bit version.
ftp://fr.rpmfind.net/linux/redhat/9/en/os/i386/RedHat/RPMS/libstdc++-3.2.2-5.i386.rpm
Kent
Try the 32-bit version of the library. I may be confused in continually sending you to the 64-bit version.
ftp://fr.rpmfind.net/linux/redhat/9/en/os/i386/RedHat/RPMS/libstdc++-3.2.2-5.i386.rpm
Kent
ASKER
kdo,
The latest try also failed. The result follows:
[root@localhost Desktop]# yum -y install libstdc++-3.2.2-5.i386.rpm
Loading "security" plugin
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Examining libstdc++-3.2.2-5.i386.rpm : libstdc++ - 3.2.2-5.i386
libstdc++-3.2.2-5.i386.rpm : does not update installed package.
Nothing to do
What a frustrating thing this is...
The latest try also failed. The result follows:
[root@localhost Desktop]# yum -y install libstdc++-3.2.2-5.i386.rpm
Loading "security" plugin
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Examining libstdc++-3.2.2-5.i386.rpm
libstdc++-3.2.2-5.i386.rpm
Nothing to do
What a frustrating thing this is...
Let's see if one of the linux gurus will chime in.
I know that every time I need to install libstdc++.so.5 I have to experiment depending on the linux distro -- It's pointless to keep you jumping in circles.
(It really shouldn't be this tough.)
Kent
ASKER
kdo,
Now don't laugh...I took a break because I developed a whopper of a headache...No, it not because of this install problem.
Ok, I'll keep trying and thanks for your help...
Now don't laugh...I took a break because I developed a whopper of a headache...No, it not because of this install problem.
Ok, I'll keep trying and thanks for your help...
Hi Enuda,
Are you running a Red Hat or Fedora system? The messages suggest that it's Red Hat.
Looking back through the output from *yum install* that you posted, I don't see where it actually did an installation. The files were downloaded, but I don't see an installation confirmation.
Kent
Are you running a Red Hat or Fedora system? The messages suggest that it's Red Hat.
Looking back through the output from *yum install* that you posted, I don't see where it actually did an installation. The files were downloaded, but I don't see an installation confirmation.
Kent
ASKER
Yep, there was no installation confirmation. But what are you thinking went wrong? Something I should check? This is all new to me, so, share your thoughts, if you please...
ASKER
ps: I am running a Red Hat enterprise linux 5 64-bit.
Let's see what is running that's "almost" the right library.
Run this:
yum list installed | grep libstdc
Run this:
yum list installed | grep libstdc
ASKER
kdo,
I have two VM running RHEL 5 64bit and both shows the following installed:
libstdc++.i386 4.1.2-14.el5
libstdc++.x86_64 4.1.2-14.el5
I have two VM running RHEL 5 64bit and both shows the following installed:
libstdc++.i386 4.1.2-14.el5
libstdc++.x86_64 4.1.2-14.el5
Ok. I don't have any .i386 packages installed. I have:
compat-libstdc++-33.i386 3.2.3-64 installed
compat-libstdc++-33.x86_64 3.2.3-64 installed
libstdc++.x86_64 4.3.2-7 installed
libstdc++-devel.x86_64 4.3.2-7 installed
Note that the two compat-* libraries are version 3.2.3. This is what we're going to need to find and install to make the DB2 installation happy.
Start here:
http://rpmfind.net//linux/RPM/fedora/9/x86_64/compat-libstdc++-33-3.2.3-63.i386.html
The page title is the link to the ftp URL for the package.
ftp://fr.rpmfind.net/linux/fedora/releases/9/Everything/x86_64/os/Packages/compat-libstdc++-33-3.2.3-63.i386.rpm
Download and install it.
Kent
compat-libstdc++-33.i386 3.2.3-64 installed
compat-libstdc++-33.x86_64
libstdc++.x86_64 4.3.2-7 installed
libstdc++-devel.x86_64 4.3.2-7 installed
Note that the two compat-* libraries are version 3.2.3. This is what we're going to need to find and install to make the DB2 installation happy.
Start here:
http://rpmfind.net//linux/RPM/fedora/9/x86_64/compat-libstdc++-33-3.2.3-63.i386.html
The page title is the link to the ftp URL for the package.
ftp://fr.rpmfind.net/linux/fedora/releases/9/Everything/x86_64/os/Packages/compat-libstdc++-33-3.2.3-63.i386.rpm
Download and install it.
Kent
ASKER
kdo,
Thanks for your response. I had stepped out for a few minutes...ok, now I'll get to work and implement this...be back soon as I am done with it...
Thanks for your response. I had stepped out for a few minutes...ok, now I'll get to work and implement this...be back soon as I am done with it...
ASKER
Kdo,
Hope all is well. I downloaded and tried to install the package and got the following. I tried yum and rpm as follows:
[root@localhost Desktop]# yum -y install compat-gcc-32-3.2.3-63.src .rpm
Loading "rhnplugin" plugin
Loading "security" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Examining compat-gcc-32-3.2.3-63.src .rpm: compat-gcc-32 - 3.2.3-63.ppc
Marking compat-gcc-32-3.2.3-63.src .rpm to be installed
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package compat-gcc-32.ppc 0:3.2.3-63 set to be updated
--> Running transaction check
--> Processing Dependency: /usr/lib64/libc.so for package: compat-gcc-32
--> Processing Dependency: bison for package: compat-gcc-32
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: compat-gcc-32
--> Processing Dependency: zlib-devel for package: compat-gcc-32
--> Processing Dependency: dejagnu for package: compat-gcc-32
--> Processing Dependency: /usr/lib/libc.so for package: compat-gcc-32
--> Processing Dependency: texinfo for package: compat-gcc-32
--> Processing Dependency: flex for package: compat-gcc-32
--> Finished Dependency Resolution
Error: Missing Dependency: /usr/lib64/libc.so is needed by package compat-gcc-32
Error: Missing Dependency: bison is needed by package compat-gcc-32
Error: Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package compat-gcc-32
Error: Missing Dependency: zlib-devel is needed by package compat-gcc-32
Error: Missing Dependency: dejagnu is needed by package compat-gcc-32
Error: Missing Dependency: /usr/lib/libc.so is needed by package compat-gcc-32
Error: Missing Dependency: texinfo is needed by package compat-gcc-32
Error: Missing Dependency: flex is needed by package compat-gcc-32
Using RPM
[root@localhost Desktop]# rpm -iv compat-gcc-32-3.2.3-63.src .rpm | more >> rpm.txt
warning: compat-gcc-32-3.2.3-63.src .rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
If you have other suggestion I am game to try them. I have to have this going somehow. I am going to continue research to find all this missing elements.
Thanks
Hope all is well. I downloaded and tried to install the package and got the following. I tried yum and rpm as follows:
[root@localhost Desktop]# yum -y install compat-gcc-32-3.2.3-63.src
Loading "rhnplugin" plugin
Loading "security" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Examining compat-gcc-32-3.2.3-63.src
Marking compat-gcc-32-3.2.3-63.src
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package compat-gcc-32.ppc 0:3.2.3-63 set to be updated
--> Running transaction check
--> Processing Dependency: /usr/lib64/libc.so for package: compat-gcc-32
--> Processing Dependency: bison for package: compat-gcc-32
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: compat-gcc-32
--> Processing Dependency: zlib-devel for package: compat-gcc-32
--> Processing Dependency: dejagnu for package: compat-gcc-32
--> Processing Dependency: /usr/lib/libc.so for package: compat-gcc-32
--> Processing Dependency: texinfo for package: compat-gcc-32
--> Processing Dependency: flex for package: compat-gcc-32
--> Finished Dependency Resolution
Error: Missing Dependency: /usr/lib64/libc.so is needed by package compat-gcc-32
Error: Missing Dependency: bison is needed by package compat-gcc-32
Error: Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package compat-gcc-32
Error: Missing Dependency: zlib-devel is needed by package compat-gcc-32
Error: Missing Dependency: dejagnu is needed by package compat-gcc-32
Error: Missing Dependency: /usr/lib/libc.so is needed by package compat-gcc-32
Error: Missing Dependency: texinfo is needed by package compat-gcc-32
Error: Missing Dependency: flex is needed by package compat-gcc-32
Using RPM
[root@localhost Desktop]# rpm -iv compat-gcc-32-3.2.3-63.src
warning: compat-gcc-32-3.2.3-63.src
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
If you have other suggestion I am game to try them. I have to have this going somehow. I am going to continue research to find all this missing elements.
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Kdo,
Yes, I'll give it a try. Please send it along and let see what happens. Ok, I'll try and send a note.
The file is not huge is it?
Yes, I'll give it a try. Please send it along and let see what happens. Ok, I'll try and send a note.
The file is not huge is it?
ASKER
kdo,
I have sent a note to you.
I have sent a note to you.
ASKER
kdo,
Some questions: While installing Red Hat El 5, the install went thru only 2 out of 7 iso files on disk and reported successful install of the RHEL OS. Is this normal? I forgot to mention this before but that exactly how my installs have been right from the start several days ago! I am suspicious that this may have something to do with the missing libstdc++.so.5 members...now, I am afraid that if this is solved something else might popup...
Anyway to make the install program go thru the rest of the iso images? I am installing from disk...just some questions. I am going ahead anyway to see what happens...
Some questions: While installing Red Hat El 5, the install went thru only 2 out of 7 iso files on disk and reported successful install of the RHEL OS. Is this normal? I forgot to mention this before but that exactly how my installs have been right from the start several days ago! I am suspicious that this may have something to do with the missing libstdc++.so.5 members...now, I am afraid that if this is solved something else might popup...
Anyway to make the install program go thru the rest of the iso images? I am installing from disk...just some questions. I am going ahead anyway to see what happens...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi Enuda,
Did you ever get this resolved? I've recently installed a new version FC10 and am having the same troubles that you did. Apparently, the beta release of FC10 was compatible with the libstdc++ library from FC9, but the regular release is not. One of the tasks in my queue is to find the correct library and get DB2 running on this server.
I suddenly have a lot more appreciation for what you've been through.
Kent
Did you ever get this resolved? I've recently installed a new version FC10 and am having the same troubles that you did. Apparently, the beta release of FC10 was compatible with the libstdc++ library from FC9, but the regular release is not. One of the tasks in my queue is to find the correct library and get DB2 running on this server.
I suddenly have a lot more appreciation for what you've been through.
Kent
ASKER
Kdo,
Nope...never did. Other things took over. Imagine if I needed to move things to production and I have this kind of issue...
Anyway, if you do get a solution, do take a minute to share as I will be getting back to my testing in a few days...
Thanks for chipping in, kdo
Enuda
Nope...never did. Other things took over. Imagine if I needed to move things to production and I have this kind of issue...
Anyway, if you do get a solution, do take a minute to share as I will be getting back to my testing in a few days...
Thanks for chipping in, kdo
Enuda
I'll bubble that up my priority list as I really do need to get that server configured. I'll keep you posted as to the progress.
But right now there are a couple of Oracle alligators nipping at my heels. :(
Kent
But right now there are a couple of Oracle alligators nipping at my heels. :(
Kent
I had same problem when trying to install db2 9.1 on my Centos 5.4 X86_64 today. I found my machine has a libstdc++.so.6.0.8. I manually created a symbolic link to so.5, it didn't work.
I then installed compat-libstdc++-33.x86_64
yum install compat-libstdc++-33.x86_64
yum install compat-libstdc++-33
It worked. Your yum update probably is using Redhat network, that's the reason it failed "yum install".
now on my machine, "rpm -ql compat-libstdc++-33.x86_64
/usr/lib64/libstdc++.so.5
/usr/lib64/libstdc++.so.5.
I can run db2setup now.
Depending on which version of linux is installed, you may be able to just create a symbolic link to the existin gC++ library. If not, you'll have to download and install the compatible library.
Do this:
ls -la /usr/lib/libstd*
You'll get something like this:
-rwxr-xr-x 1 root root 721364 2008-07-15 14:09 /usr/lib/libstdc++.so.5.0.
Try creating a symbolic link to it:
ln -s /usr/lib/libstdc++.so.5.0.
Then run the install again. If it still fails, it's because the delta between your installed version of libstdc++ is too great. (There are some required constants in the compatible versions.)
If that doesn't work, post back and I'll help you find the install files.
Good Luck,
Kent