470,620 Members | 1,441 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,620 developers. It's quick & easy.

db2_install error


Hi

When I try to install the db I get this :

# ./db2_install
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir:
/usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir)
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir:
/usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by
libdb2locale.so.1)
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir:
/usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir)
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir:
/usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by
libdb2locale.so.1)
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir:
/usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir)
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir:
/usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by
libdb2locale.so.1)
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir:
/usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir)
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir:
/usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by
./libdb2locale.so.1)
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir:
/usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir)
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir:
/usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by
./libdb2locale.so.1)
DBI1055E The message file db2install.cat cannot be found.

Explanation: The message file required by this
script is missing from the system; it may have been
deleted or the database products may have been loaded
incorrectly.

User Response: Verify that the product option containing
the message file is installed correctly. If there are
verification errors; reinstall the product option.

Any idea what is wrong ?
--
oberon
------------------------------------------------------------------------
oberon's Profile: http://www.dbtalk.net/m596
View this thread: http://www.dbtalk.net/t322622

Jul 31 '06 #1
3 6759
You appear to be missing the C++ runtime that DB2 requires. You need to
provide information about your operating system to determine exactly
what is required. You also didn't indicate if you are installing a 32 or
64 bit DB2.

The messages are generated by RPM processing when the required
prerequisites for an install are not found.

On my RHEL4 system (32 bit), the required code was installed as part of:
compat-libstdc++-33-3.2.3-47.3
Check one of the online RPM repositories, download the RPM and install
it with the command:
rpm -iv compat-libstdc++*.rpm
then try the DB2 install again.
Phil Sherman
oberon wrote:
Hi

When I try to install the db I get this :

# ./db2_install
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir:
/usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir)
/home/oberon/movie/exp/disk1/db2/linux/install/../bin/db2langdir:
/usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by
libdb2locale.so.1)
>

Any idea what is wrong ?

Jul 31 '06 #2

I'm using "Linux From Scratch"

it appears that DB2 requires an old version of libstdc++ (I have the
one supplied by GCC 4.0.1 and it requires the one supplied by GCC
3.3.6)
--
oberon
------------------------------------------------------------------------
oberon's Profile: http://www.dbtalk.net/m596
View this thread: http://www.dbtalk.net/t322622

Jul 31 '06 #3
Linux supports keeping multiple versions of the C++ runtime. That's why
I recommended:
ompat-libstdc++-33-3.2.3-47.3

You can try installing with:
rpm -iv --test ompat-libstdc++-33-3.2.3-47.3
to see if there are nay conflicts. Remove the --test option to do the
install.

Phil Sherman
oberon wrote:
I'm using "Linux From Scratch"

it appears that DB2 requires an old version of libstdc++ (I have the
one supplied by GCC 4.0.1 and it requires the one supplied by GCC
3.3.6)

Aug 2 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Tony Wright | last post: by
1 post views Thread by Aravind | last post: by
1 post views Thread by yanwan | last post: by
5 posts views Thread by Enos Meroka | last post: by
7 posts views Thread by p | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.