Can someone help me find libstdc++.so.5 ?

Hi Everyone,

I’m new to Linux and was hoping someone could help find and install
libstdc++.so.5 ? I’m attempting to install Db2 9.5 (32 bit linux) and
apparently the install won’t work because my system doesn’t have this
lib file.

-----partial error below ---------

ERROR:

The required library file libstdc++.so.5 is not found on the system.

Check the following web site for the up-to-date system requirements

of IBM DB2 9.5


I tried the following command:

sudo zypper install compat-libstdc++

but receive the following error:

gregorys@linux-oosi:~/Desktop/exp> sudo zypper install
compat-libstdc++

Download (curl) error for
http://download.opensuse.org/distribution/11.1/repo/non-oss/repodata/repomd.xml’:

Error code:

Error message: Couldn’t resolve host ‘download.opensuse.org

Abort, retry, ignore? [A/r/i]:

Any help would be greatly appreciated. I’m currently running OpenSuse
11.1 (latest veresion yah…) and my Internet connection appears fine.
Is the above URL correct ? My guess is no and something has changed
somewhere. Any steps you can provide to help resolve the problem(s)
would be awesome.

Thanks,

TI-MAN


ti-man

ti-man’s Profile: http://forums.opensuse.org/member.php?userid=17927
View this thread: http://forums.opensuse.org/showthread.php?t=402666

Hi
I would say it may be the mirror your system is attempting to
connect to, the redirector can have issues. I find it better to
select a mirror site. It’s also on the dvd if you have that.

You can also use this link to search;
Get It


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-4-default
up 2:59, 1 user, load average: 0.01, 0.11, 0.22
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Still no luck.
I think the packages aren’t downloading properly due to my proxy
settings. I can get the browser working (had to manually configure the
proxy) fine but the locations the update tool is trying to retreive
from indicates the URL is bad when in fact it works fine when checking
through the browser.

So I tried finding libstdc++.so.5 on the installation CD, but so far
I’m not having any luck.

Can you point me specifically to the package that contains
libstdc++.so.5 (on the CD) ? I’ve found other packages, but they seem to
contain older versions.

I’ve found:

libstdc+±devel
The system GNU C++ development files.

and …

libstdc++33
The standard C++ library, needed for dynamically linked C++ programs.

Thanks,


ti-man

ti-man’s Profile: http://forums.opensuse.org/member.php?userid=17927
View this thread: http://forums.opensuse.org/showthread.php?t=402666

Hi
If you search for it, then click on the main link pointing to the
repository (rather than the rpm itself). Then browse the directory tree
for your file, off to the right are two links, click on the mirror link
to see which mirrors have it, then use this to setup your repositories
to one of the mirrors.

Else use the metalink and save this, then use aria2c (it’s a cli
tool) to retrieve and install manually.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-4-default
up 5:37, 1 user, load average: 0.10, 0.13, 0.10
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

I know you are probably going to shoot me, but I did the steps you
indicated and i can’t find it…

I found a few other libstdc++ …(appears to be different versions)

(from ‘Index of /distribution/11.1/repo/oss/suse/i586’
(http://download.opensuse.org/distribution/11.1/repo/oss/suse/i586/) )
. . .
. . .

] libssh2-1-0.19.0+20080814-2.8.i586.rpm
03-Dec-2008 07:45 55K Mirrors Metalink
] libssh2-devel-0.19.0+20080814-2.8.i586.rpm
03-Dec-2008 07:45 57K Mirrors Metalink
] libstdc+±devel-4.3-34.168.i586.rpm
03-Dec-2008 02:48 4.6K Mirrors Metalink
] libstdc++33-3.3.3-7.5.i586.rpm
03-Dec-2008 07:13 200K Mirrors Metalink
] libstdc++33-devel-3.3.3-7.5.i586.rpm
03-Dec-2008 07:13 1.2M Mirrors Metalink
] libstdc++33-doc-3.3.3-7.5.i586.rpm
03-Dec-2008 07:13 353K Mirrors Metalink
] libstdc++41-devel-4.1.3_20080612-26.5.i586.rpm
03-Dec-2008 08:20 1.9M Mirrors Metalink
] libstdc++41-doc-4.1.3_20080612-26.5.i586.rpm
03-Dec-2008 08:20 1.3M Mirrors Metalink
] libstdc++43-4.3.3_20081022-9.5.i586.rpm
03-Dec-2008 05:34 265K Mirrors Metalink
] libstdc++43-devel-4.3.3_20081022-9.5.i586.rpm
03-Dec-2008 05:34 2.1M Mirrors Metalink
] libstdc++43-doc-4.3.3_20081022-9.5.i586.rpm
03-Dec-2008 05:34 1.9M Mirrors Metalink
] libstrigi0-0.5.11-39.11.i586.rpm
03-Dec-2008 11:53 292K Mirrors Metalink
. . .
. . .


ti-man

ti-man’s Profile: http://forums.opensuse.org/member.php?userid=17927
View this thread: http://forums.opensuse.org/showthread.php?t=402666

Hi
Have a look via YaST and software. If you check the box ‘rpm provides’
it shows the file your after is in libstdc++33. It’s on the following
mirrors;

Mirror
list for libstdc++33


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-4-default
up 10:33, 2 users, load average: 0.35, 0.15, 0.11
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Thanks Malcolm.

This did the trick!


ti-man

ti-man’s Profile: http://forums.opensuse.org/member.php?userid=17927
View this thread: http://forums.opensuse.org/showthread.php?t=402666

Malcolm wrote:

> Hi
> Have a look via YaST and software. If you check the box ‘rpm provides’
> it shows the file your after is in libstdc++33. It’s on the following
> mirrors;
>
>
Mirror
> list for libstdc++33

Trying to re-install the db2 9.5 here got me to the same point but /usr/lib
already has a symlink libstdc++.so.5 -> libstdc++.so.5.0.7 which does exist
so shouldn’t the installation program “find” the darned thing? Since this
is a 32-bit library and I’m working on a 64-bit installation I am leary
about the end result if it DOES install but am I missing something?


Will Honea

Hi
You can always extract (from the rpm) the library and place it over in
the /usr/local area and re-run ldconfig.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-4-default
up 1 day 9:37, 1 user, load average: 0.04, 0.14, 0.11
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Malcolm wrote:

>

> Hi
> You can always extract (from the rpm) the library and place it over in
> the /usr/local area and re-run ldconfig.

Learn something every day! Thanks, I’ll try that.


Will Honea