Skip site navigation (1) Skip section navigation (2)

Re: BUG #2600: dblink compile with SSL missing libraries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org, Chris Browne <cbbrowne(at)acm(dot)org>
Subject: Re: BUG #2600: dblink compile with SSL missing libraries
Date: 2006-08-31 18:45:49
Message-ID: 22538.1157049949@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackerspgsql-patches
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Am Mittwoch, 30. August 2006 22:57 schrieb Chris Browne:
>> I also seem to recall, in past discussions about "library matters,"
>> that AIX is more sticky about requiring that libraries be named
>> expressly.

> ecpglib has

> SHLIB_LINK = -L../pgtypeslib -lpgtypes $(libpq) \
>         $(filter -lintl -lssl -lcrypto -lkrb5 -lcrypt -lm, $(LIBS)) 
> $(PTHREAD_LIBS)

> ifeq ($(PORTNAME), win32)
> # Link to shfolder.dll instead of shell32.dll
> SHLIB_LINK += -lshfolder
> endif

> Presumably the same would be necessary everywhere else libpq is used.

Surely it'd be better to put that into the $(libpq) macro instead.
I see that Makefile.global already has an AIX-specific hack to deal with
PTHREAD_LIBS that way, maybe we need to extend it?

Also, the list of potential library dependencies in libpq's own Makefile
is quite a bit longer than this list ... perhaps ecpg's list is too
short?

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2006-08-31 18:48:19
Subject: Re: [HACKERS] [PATCHES] log_statement output for protocol
Previous:From: Josh BerkusDate: 2006-08-31 18:41:41
Subject: Re: Thought provoking piece on NetBSD

pgsql-bugs by date

Next:From: AdailsonDate: 2006-09-01 19:20:00
Subject: BUG #2605: Log de ERRO
Previous:From: Dave PageDate: 2006-08-31 16:11:52
Subject: Re: BUG #2603: SQLDescribeCol return values

pgsql-patches by date

Next:From: Bruce MomjianDate: 2006-08-31 18:48:19
Subject: Re: [HACKERS] [PATCHES] log_statement output for protocol
Previous:From: Tom LaneDate: 2006-08-31 18:36:28
Subject: Re: [PATCHES] Backend SSL configuration enhancement

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group