Re: Compiling Error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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-04 18:58:43
Message-ID: 6489.960145123@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jesus Aneiros <aneiros(at)jagua(dot)cfg(dot)sld(dot)cu> writes:
> Could somebody help me with this error. It appears when I try to compile
> 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

You probably need an explicit "-lcrypt" in your link command. Some
platforms need that, some don't...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Charles Tassell 2000-06-04 19:04:53 Re: Compiling Error
Previous Message g.p.ciceri 2000-06-04 16:32:20 does vacuum reclaim unused space from an index ???