Received: from mail.shadow.net ([204.177.71.247]) by hub.org (8.9.1/8.9.1) with ESMTP id AAA04449 for ; Sat, 9 Jan 1999 00:34:15 -0500 (EST) (envelope-from rbarr@shadow.net) Received: from viper (rbarr@viper.shadow.net [204.177.71.9]) by mail.shadow.net (8.8.8/8.7.3) with SMTP id AAA06984; Sat, 9 Jan 1999 00:43:41 -0500 (EST) Date: Sat, 9 Jan 1999 00:33:13 -0500 (EST) From: "Randall W. Barrett" X-Sender: rbarr@viper To: =?iso-8859-1?Q?Jos=E9?= =?iso-8859-1?Q?_L=F3pez?= Requena cc: pgsql-interfaces@hub.org Subject: Re: [INTERFACES] Problems in compilation of Sample1 In-Reply-To: <3.0.1.32.19990109024722.0068c8f0@correo.cc-ab.uclm.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.org id AAA04450 Jose, add -lcrypt to the end of your compiler directives, i.e. gcc -o sample1 sample1.c -lecpg -lpq -lcrypt Randy Barrett On Sat, 9 Jan 1999, [iso-8859-1] José[iso-8859-1] López Requena wrote: > Hi everybody!,I am tryng to compile the Sample Program 1 that comes with > the programmer's guide of PostgreSQL documentation. I've copied the > developement librarys to /usr/lib and the include files to /usr/include. > When I type gcc -o sample1 sample1.c -lecpg -lpq the compiler tells me: > > /usr/lib/libecpg.so:undefined reference to 'crypt' > > can you help me about the meaning of this error message. > > Thanks! > > >