Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!! - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!!
Date
Msg-id 17204.910453510@sss.pgh.pa.us
Whole thread Raw
In response to Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!!  (Constantin Teodorescu <teo@flex.ro>)
List pgsql-hackers
Constantin Teodorescu <teo@flex.ro> writes:
> The patch that you send me I have applied ONLY to Makefile.in from
> src/interfaces/libpgtcl directory.
> Should I apply it to Makefile.in from src/interfaces/libpq directory ?

No no, that change was intended to be applied to libpq's Makefile *not*
libpgtcl's.  Sorry if I wasn't clear.

There's also the question of why the linker is making a dynamic
dependency on libc for libpgtcl but not libpq.  Oliver suggested
that -lc is needed as well as -lcrypt in the link step, but that
doesn't seem to explain all the facts --- libpgtcl doesn't have
-lc, and it seems to be getting built right.  Still, you might try
adding -lc to SHLIB_LINK in libpq's Makefile, and see if that
changes the ldd result.

            regards, tom lane

pgsql-hackers by date:

Previous
From: Terry Mackintosh
Date:
Subject: Re: [HACKERS] linux libc6 & pgsql 6.4
Next
From: Constantin Teodorescu
Date:
Subject: Bugs on opening views defined with spaces or upon table names with spaces !!!