The following bug has been logged online:
Bug reference: 2094
Logged by: Hans Schlüper
Email address: hans.schlueper@atosorigin.com
PostgreSQL version: 8.1.0
Operating system: AIX 5.3
Description: AIX: libraries contain the symbol main
Details:
Problem:
with xlc compiler under AIX 5.3 (also 4.3) we found the following problem.
The linker per default assumes that
you are linking a main program when you do not specify a module type. So
shared libraries contain the symbol
main. So you couldn't use the libraries
Solution:
Using LDFLAGS_SL="-bnoentry"
=> noentry point is specified.
=> no symbol main