Originally posted by: ArunG11
Hi All,
I am new to AIX, trying to build PHP 5.3 on AIX 6.1. Here are my attempts to install a C compiler
There was no C compiler available, tried installing gcc got dependency issues while installing and getting a message as below when i invoke gcc.
exec(): 0509-036 Cannot load program gcc because of the following errors:
0509-150 Dependent module /opt/freeware/lib/libiconv.a(libiconv.so.2) could not be loaded.
0509-022 Cannot load module /opt/freeware/lib/libiconv.a(libiconv.so.2).
0509-026 System error: A file or directory in the path name does not
I tried with installing from the gcc-4.4.5-1.aix6.1.ppc.rpm file and getting dependency problems again as below
info is needed by gcc-4.4.5-1
libgmp.a(libgmp.so.10) is needed by gcc-4.4.5-1
libiconv.a(libiconv.so.2) is needed by gcc-4.4.5-1
libmpfr.a(libmpfr.so.4) is needed by gcc-4.4.5-1
when i tried to resolve each dependency its dependency list goes up.
I downloaded a XLC compiler package from the IBM site, and i am able to install and the compiler works fine, but to continue with PHP it needs gcc only.
Please help me on installing the PHP with gcc, correct if i have done something wrong above and from where can i get a complete gcc package without dependency.
Thanks in Advance
Arun
#AIX-Forum