> I get the following errors
>
>
> gmake -C ecpglib all
> gmake[4]: Entering directory
> `/usr/local/postgres/pgsql/src/interfaces/ecpg/ecpglib'
> ../../../../src/backend/port/aix/mkldexport.sh libecpg.a > libecpg.exp
> gcc -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -Wl,-bnoentry -
> Wl,-H512 -Wl,-bM:SRE -o libecpg.so libecpg.a
> -L../../../../src/port -lm
> -L/usr/local/ssl/lib -L../../../../src/port -L/usr/local/ssl/lib
> -L../pgtypeslib
> -lpgtypes -L../../../../src/interfaces/libpq -lpq
> -Wl,-bI:../../../../src/backend/postgres.imp -Wl,-bE:libecpg.exp
> ld: 0711-317 ERROR: Undefined symbol: .SSL_new
> ld: 0711-317 ERROR: Undefined symbol: .SSL_set_ex_data
> ld: 0711-317 ERROR: Undefined symbol: .SSL_set_fd
> ld: 0711-317 ERROR: Undefined symbol: .SSL_read
> ld: 0711-317 ERROR: Undefined symbol: .SSL_get_error
> ld: 0711-317 ERROR: Undefined symbol: .SSL_write
You can get around that problem by adding the SSL library to the link line
manually (-lssl).
AIX wants all symbols resolved at link time (or at least be told where to
load them from at runtime with an *.imp file).
All Platforms with that requirement will have that problem when linking
libecpg.so with ssl.
Sorry I don't have time to fix it right now.
Andreas