Re: AIX 4.2.1 CVS head and SSL - Mailing list pgsql-hackers

From Zeugswetter Andreas SB SD
Subject Re: AIX 4.2.1 CVS head and SSL
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA4962007@m0114.s-mxs.net
Whole thread Raw
In response to AIX 4.2.1 CVS head and SSL  (Samuel A Horwitz <horwitz@argoscomp.com>)
Responses Re: AIX 4.2.1 CVS head and SSL  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> 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


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: 3 digit ISO dates
Next
From: Gavin Sherry
Date:
Subject: LISTEN and "tuple concurrently updated"