pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Constantin Teodorescu <teo@flex.ro>
Cc: pgsql-hackers@postgreSQL.org
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!!
Date: Sat, 07 Nov 1998 10:45:10 -0500
Message-ID: <17204.910453510@sss.pgh.pa.us> (raw)
In-Reply-To: <364402C9.21FE4A2@flex.ro>

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



view thread (25+ messages)  latest in thread

Message-ID: <17204.910453510@sss.pgh.pa.us>
Permalink:  ../17204.910453510@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17204.910453510@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, teo@flex.ro, pgsql-hackers@postgreSQL.org
  Subject: Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!!
  In-Reply-To: <17204.910453510@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox