Problems in compilation of Sample1

From: José López Requena <jrequena(at)cc-ab(dot)uclm(dot)es>
To: pgsql-interfaces(at)hub(dot)org
Subject: Problems in compilation of Sample1
Date: 1999-01-09 01:47:22
Message-ID: 3.0.1.32.19990109024722.0068c8f0@correo.cc-ab.uclm.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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!

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Randall W. Barrett 1999-01-09 05:33:13 Re: [INTERFACES] Problems in compilation of Sample1
Previous Message JP Rosevear 1999-01-08 22:34:43 Re: [INTERFACES] Kaffe 1.0b3 Solved yet?