[AIX 5.2] Problem with rpm

I downloaded gcc-cplusplus-4.0.0-1.aix5.2.ppc.rpm from IBM AIX Toolbox Download Page - Alphabetical Listing
but:

-bash-3.00# rpm -ivh gcc-cplusplus-4.0.0-1.aix5.2.ppc.rpm
error: gcc-cplusplus-4.0.0-1.aix5.2.ppc.rpm cannot be installed

I can't understand wht kind of error is it... Can be a dependency problem?

-bash-3.00# rpm -qa|grep libstdc
libstdc++-4.0.0-1
libstdc++-devel-4.0.0-1

Moreover I have libc.a and libiconv.a in /usr/lib (and /usr/lib is in $PATH).

Why don't you use the "-R" option of rpm to find out?

It doesn't matter if /usr/lib is in $PATH or not, as libraries are searched for along the contents of $LIBPATH. Furthermore /usr/lib is the the path for SYSTEM libraries, have a look at /usr/local/lib for third-party-libraries.

bakunin