From: Randall W. Barrett <rbarr@shadow.net>
To: José López Requena <jrequena@cc-ab.uclm.es>
Cc: pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] Problems in compilation of Sample1
Date: Sat, 9 Jan 1999 00:33:13 -0500 (EST)
Message-ID: <Pine.SOL.3.96.990109003101.9945A-100000@viper> (raw)
In-Reply-To: <3.0.1.32.19990109024722.0068c8f0@correo.cc-ab.uclm.es>
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!
>
>
>
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-interfaces@postgresql.org
Cc: rbarr@shadow.net, jrequena@cc-ab.uclm.es, pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] Problems in compilation of Sample1
In-Reply-To: <Pine.SOL.3.96.990109003101.9945A-100000@viper>
References: <3.0.1.32.19990109024722.0068c8f0@correo.cc-ab.uclm.es> <Pine.SOL.3.96.990109003101.9945A-100000@viper>
* 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