Re: AIX 4.2.1 CVS head and SSL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at>
Cc: "Samuel A Horwitz" <horwitz(at)argoscomp(dot)com>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: AIX 4.2.1 CVS head and SSL
Date: 2003-09-16 05:33:06
Message-ID: 14160.1063690386@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at> writes:
> You can get around that problem by adding the SSL library to the link line
> manually (-lssl).
> Sorry I don't have time to fix it right now.

A minimal patch to fix this might look like the attached. But I'm not sure
it's sufficient; potentially you might need to add more libraries to the
filter command (compare the filter in src/interfaces/libpq/Makefile's
setting of SHLIB_LINK). Could you try it out and report back?

regards, tom lane

*** src/interfaces/ecpg/ecpglib/Makefile.orig Fri Aug 1 12:46:18 2003
--- src/interfaces/ecpg/ecpglib/Makefile Tue Sep 16 01:29:43 2003
***************
*** 21,27 ****
OBJS= execute.o typename.o descriptor.o data.o error.o prepare.o memory.o \
connect.o misc.o

! SHLIB_LINK = -L../pgtypeslib -lpgtypes $(libpq) $(THREAD_LIBS)

all: all-lib

--- 21,27 ----
OBJS= execute.o typename.o descriptor.o data.o error.o prepare.o memory.o \
connect.o misc.o

! SHLIB_LINK = -L../pgtypeslib -lpgtypes $(libpq) $(filter -lssl, $(LIBS)) $(THREAD_LIBS)

all: all-lib

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mendola Gaetano 2003-09-16 14:49:03 best place for xstrdup
Previous Message Tom Lane 2003-09-16 04:38:10 Re: Error compiling timestamp.c in 7.4