Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!!

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Constantin Teodorescu <teo(at)flex(dot)ro>
Cc: pgsql-hackers(at)postgreSQL(dot)org, pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!!
Date: 1998-11-07 15:45:10
Message-ID: 17204.910453510@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

Constantin Teodorescu <teo(at)flex(dot)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

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergio 1998-11-07 16:39:27 Re: [INTERFACES] limiting the rows selected in postgresql
Previous Message Terry Mackintosh 1998-11-07 13:37:51 Re: [HACKERS] linux libc6 & pgsql 6.4

Browse pgsql-interfaces by date

  From Date Subject
Next Message Sergio 1998-11-07 16:39:27 Re: [INTERFACES] limiting the rows selected in postgresql
Previous Message Constantin Teodorescu 1998-11-07 08:20:25 Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!!