Howto Create a libstdc++ Compat on Debian (e.g. libstdc++-libc6.2-2.so.3)
Today I tried to update a Smart Array 6400 controller with a new firmware version, but it was not easy, since HP releases proprietary crap software, which is linked against an ancient version of the libstdc++ library, namely libstdc++-libc6.2-2.so.3.
This was, what I got using ldd
hopper:~# ldd cpqsetup linux-gate.so.1 => (0xf7f4d000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf7f2c000) libstdc++-libc6.2-2.so.3 => not found libm.so.6 => /lib32/libm.so.6 (0xf7ec6000) libc.so.6 => /lib32/libc.so.6 (0xf7d73000) /lib/ld-linux.so.2 (0xf7f4e000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7d66000)
This solution is a follows:
Not pretty, but it works quite well with the HP Firmware CD Supplemental Update / Online ROM Flash Component for Linux – Smart Array 6400
wget http://mediakey.dk/~cc/files/compat-libstdc++-296-2.96-138.i386.rpm aptitude install rpm rpm2cpio compat-libstdc++-296-2.96-138.i386.rpm | cpio -idmv export LD_LIBRARY_PATH=/root/usr/lib/:$LD_LIBRARY_PATH ldconfig
Then ldd should show this:
hopper:~# ldd cpqsetup linux-gate.so.1 => (0xf7f4d000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf7f2c000) libstdc++-libc6.2-2.so.3 => /root/usr/lib/libstdc++-libc6.2-2.so.3 (0xf7eea000) libm.so.6 => /lib32/libm.so.6 (0xf7ec6000) libc.so.6 => /lib32/libc.so.6 (0xf7d73000) /lib/ld-linux.so.2 (0xf7f4e000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7d66000)
And then I was able to use the HP firmware update utility for Linux:
hopper:~# ./cpqsetup Firmware CD Supplemental Update / Online ROM Flash Component for Linux - Smart Array 6400 * Version of rom to be flashed: 2.84 * Number of controllers: 1 * The version of existing Array ROM is 2.80 * 1 controller(s) will be flashed * This operation may take about 2 minutes Flash ROMs Now? (Yes/No): Yes Flashing 1 controller(s), please wait.... Success: Product 409c0e11 at controller position 0 with old version 2.80 has been updated with new version 2.84. ROM Flash complete. New firmware will take effect when the server is rebooted. As part of the reboot process, you should power cycle the server and any external drive arrays.
Related posts:
- Howto: Install Ruby and Rails on Debian or Ubuntu
- Howto: Create your own Debian or Ubuntu package repository
- Howto PHP / Java bridge on Debian
- Howto Install Oracle on Debian
- Upgrade Debian Etch to Debian Lenny
- How To Update A Garmin Nuvi (Firmware and Maps)
- Howto Install Sun Java on Debian Etch
- Howto Create Generate a Certificate Signing Request
- Howto: How to Reset the MySQL Root Password
- Howto install Java on Debian Sarge
Popular Related Items »
Incoming search terms
- compat-libstdc debian
- compat-libstdc ubuntu
- debian compat-libstdc
- download libstdc -libc6 2-2 ubuntu
- libstdc -libc6 2-2 so 3 debian
- ubuntu compat-libstdc
- compat-libstdc deb
- libstdc -libc6 2-2 so 3 debian lenny
- libstdc -libc6 2-2 so 3 ubuntu 9 10
- libstdc -libc6 2-2 so 3 lenny
- Debian libstdc
- compat libstdc ubuntu
- libstdc -libc6 2-2 so 3 ubuntu
- compat-libstdc ubuntu 9 10
- linux-gate so 1 debian
- lenny libstdc -libc6 2-2 so 3
- compat libstdc debian
- libstdc libc6 2 2 so 3 debian lenny
- linux-gate so deb
- libstdc compat ubuntu
- libstdc libc6 2-2 so 3
- libstdc libc6 debian
- libstdc compat for ubuntu
- libstdc compat debian
- libstdc compat & ubuntu
- libstdc compat
- libstdc -libc6 2-2 so 3 9 10
- libstdc -libc6 2-2 so 3 => not found
- libstdc -libc6 2-2 so 3 cpqsetup ubuntu
- libstdc -libc6 2-2 so 3 debian 2010
- libstdc -libc6 2-2 so 3 debian package
- libstdc -libc6 2-2 so 3 download deb
- libstdc -libc6 2-2 so 3 package for ubuntu 9 10
- libstdc -libc6 2-2 so 3 rpm debian
- libstdc -libc6 2-2 on 8 04
- libstdc -libc6 2-2 so 3 ubuntu deb
- not found libstdc -libc6 2-2 so 3 ubuntu
- oracle debian libpthread so
- ubuntu compat-libstdc -296
- ubuntu install compat-libstdc
- ubuntu install old libstdc lenny
- ubuntu libc6 2
- ubuntu libstd compat
- ubuntu libstdc 296
- ubuntu upgrade libstdc
