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

From: Chris Browne <cbbrowne(at)acm(dot)org>
To: pgsql-bugs(at)postgresql(dot)org pgsql-patches(at)postgresql(dot)org
Subject: Re: BUG #2600: dblink compile with SSL missing libraries
Date: 2006-09-05 21:58:06
Message-ID: 60odtuvuvl.fsf@dba2.int.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-patches

peter_e(at)gmx(dot)net (Peter Eisentraut) 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.

I replaced:
SHLIB_LINK = $(libpq)

with
SHLIB_LINK = $(libpq) $(LIBS)

which allowed the compile to get through this.

If I add that very same line:
SHLIB_LINK = $(libpq) $(LIBS)

to contrib/sslinfo/Makefile, it now survives the compile, as well as
successfully running through, for contrib, "make install" and "make
installcheck".
--
"cbbrowne","@","cbbrowne.com"
http://linuxfinances.info/info/unix.html
Do you know where your towel is?

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Albe Laurenz 2006-09-06 07:20:38 Re: [PATCHES] BUG #2600: dblink compile with SSL missing libraries
Previous Message Tom Lane 2006-09-05 14:35:37 Re: BUG #1931: ILIKE and LIKE fails on Turkish locale

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2006-09-05 21:58:42 Re: Win32 hard crash problem
Previous Message Tom Lane 2006-09-05 21:47:56 Re: Win32 hard crash problem

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-09-05 22:00:17 Re: Backend SSL configuration enhancement
Previous Message Nikolay Samokhvalov 2006-09-05 21:55:07 patch for contrib/xml2