Re: Compiling Error - Mailing list pgsql-general

From Michael Meskes
Subject Re: Compiling Error
Date
Msg-id 20000605173808.B3899@fam-meskes.de
Whole thread Raw
In response to Compiling Error  (Jesus Aneiros <aneiros@jagua.cfg.sld.cu>)
List pgsql-general
On Sun, Jun 04, 2000 at 11:44:36AM -0400, Jesus Aneiros wrote:
> an ecpg program. It seems that it is something with the linking phase and
> the ecpg library. Any ideas?
>
> /usr/lib/libecpg.so: undefined reference to `crypt'
> collect2: ld returned 1 exit status

Try adding -lcrypt to your link command. I take it your system tuns glibc2.
:-)

Michael
--
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

pgsql-general by date:

Previous
From: Ed Loehr
Date:
Subject: Re: Vacuum Question
Next
From: Michael Meskes
Date:
Subject: Re: Using embedded SQL.