"Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.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