Compile PHP in AIX: Loading issues

Finally I was able to compile PHP on AIX. When I try to load from Apache, I get the below error.

/install/usr/local/apache2/bin:>apachectl -f /install/usr/local/apache2/conf/httpd.conf -k stop
httpd: Syntax error on line 53 of /install/usr/local/apache2/conf/httpd.conf: Cannot load /install/usr/local/apache2/modules/libphp5.so into server: \t0509-022 Cannot load module /install/opt/freeware/lib/libfontconfig.a(libfontconfig.so.1).\n\t0509-150   Dependent module /install/usr/local/apache2/lib/libexpat.a(libexpat.so.1) could not be loaded.\n\t0509-152   Member libexpat.so.1 is not found in archive \n\t0509-022 Cannot load module /install/usr/local/apache2/modules/libphp5.so.\n\t0509-150   Dependent module /install/opt/freeware/lib/libfontconfig.a(libfontconfig.so.1) could not be loaded.

I changed the version number in libexpat.la and tried again with no luck.

# libexpat.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4.2 (1.922.2.53 2001/09/11 03:18:52)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
#dlname='libexpat.so.0'
dlname='libexpat.so.1'
# Names of this library.
library_names='libexpat.a libexpat.a'
# The name of the static archive.
old_library=''
# Libraries that this one depends upon.
dependency_libs=''
# Version information for libexpat.
current=1
age=0
revision=0
# Is this an already installed library?
installed=yes
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/opt/freeware/lib'

Help is appreciated.

Thanks
Karthik.