Received: from sss.sss.pgh.pa.us (sss.pgh.pa.us [206.210.65.6]) by hub.org (8.9.1/8.9.1) with ESMTP id KAA24419; Sat, 7 Nov 1998 10:47:00 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.sss.pgh.pa.us (8.9.1/8.9.1) with ESMTP id KAA17206; Sat, 7 Nov 1998 10:45:10 -0500 (EST) To: Constantin Teodorescu cc: pgsql-hackers@postgreSQL.org, pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!! In-reply-to: Your message of Sat, 07 Nov 1998 08:20:25 +0000 <364402C9.21FE4A2@flex.ro> Date: Sat, 07 Nov 1998 10:45:10 -0500 Message-ID: <17204.910453510@sss.pgh.pa.us> From: Tom Lane Constantin Teodorescu 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