i've compiled

apache 1.3.27 with dso support,
postgresql 7.2.4 with standard configure (except --prefix option)

an now i wanted to compile php 4.3.2 as a dso module for the apache.

on apache start i get the following:

Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: 0509-130
Symbol resolution failed for /usr/local/pgsql/lib/libpq.so because:
0509-136 Symbol main (number 67) is not exported from
dependent module httpd.
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
/usr/local/apache/bin/apachectl start: httpd could not be started

all the software has been compiles with
gcc version 2.9-aix51-020209 (ibm rpm).
on aix 4.3.3

the command line version of php loads correctly with the libpq.so