Re: Compiling Error

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Jesus Aneiros <aneiros(at)jagua(dot)cfg(dot)sld(dot)cu>
Cc: pgsql-general <pgsql-general(at)hub(dot)org>
Subject: Re: Compiling Error
Date: 2000-06-05 15:38:08
Message-ID: 20000605173808.B3899@fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)Fam-Meskes(dot)De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message carl garland 2000-06-05 17:29:23 Re: Re: Speed of locating tables
Previous Message Michael Meskes 2000-06-05 15:37:17 Re: Using embedded SQL.