I can't install WS6.1 on RedHat AS 4
Hi everyone,
I have a trouble to install WS6.1 on RedHat AS 4 Update 4.
[root@pluto suntmp6]# uname -a
Linux pluto 2.6.9-42.EL #1 SMP Wed Jul 12 23:25:09 EDT 2006 ia64 ia64 ia64 GNU/Linux
When I tried to setup, below message was shown.
[root@pluto suntmp6]# ./setup
/product/suntmp6/./.setup: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
I thought that there wasn't the shared object file, but it's not.
It's in /usr/lib. It's a symbolic link file.
[root@pluto lib]# ls -al libstdc++-libc6.2-2.so.3
lrwxrwxrwx 1 root root 31 May 9 01:45 libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so
I don't know why this problem happens.
I tried with WS6.1 SP5, SP6, SP7 and I failed.
I think it has something to do with glibc rpms.
Below rpms are installed on the server.
glibc-common-2.3.4-2.25
glibc-2.3.4-2.25
Plz help me. How can I install WS6.1 ?
[1045 byte] By [
siriloa] at [2007-11-27 3:50:19]

# 1
You need to install compatibility libraries (compat-libstdc++-296-<version>).
In my fedora core 5.
[~/ws61/SUNWwbsvr] $ ldd bin/https/bin/webservd | grep std
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x00909000)
[~/ws61/SUNWwbsvr] $ rpm -q --whatprovides /usr/lib/libstdc++-libc6.2-2.so.3
compat-libstdc++-296-2.96-135
# 2
Thanks Basantk,
By the way, the rpm you recommanded was already installed.
FYI,
[root@pluto suntmp7]# rpm -q --whatprovides /usr/lib/libstdc++-libc6.2-2.so.3
compat-libstdc++-296-2.96-132.7.2
[root@pluto suntmp7]# rpm -qa |grep compat-libstdc++-296
compat-libstdc++-296-2.96-132.7.2
Would you tell me other way plz?
# 3
Sorry, it was my mistake, I didn't understood your question properly.
Can you provide the following information ?
$ ldd ./.setup
(Note it is .setup not setup)
On my fedora core 5, I installed and it worked fine.
In FC5,
[/tmp/websrv] $ ldd ./.setup
linux-gate.so.1 => (0x00aeb000)
libpthread.so.0 => /lib/libpthread.so.0 (0x009e1000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00122000)
libdl.so.2 => /lib/libdl.so.2 (0x00c65000)
libncurses.so.5 => /usr/lib/libncurses.so.5 (0x008e6000)
libtermcap.so.2 => /lib/libtermcap.so.2 (0x00dc1000)
libsasl.so => not found
libicudata.so.2 => not found
libicuuc.so.2 => not found
libicui18n.so.2 => not found
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x00135000)
libm.so.6 => /lib/libm.so.6 (0x00c3e000)
libc.so.6 => /lib/libc.so.6 (0x00b09000)
/lib/ld-linux.so.2 (0x00aec000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00a76000)