Re: Compiling Error - Mailing list pgsql-general

From Tom Lane
Subject Re: Compiling Error
Date
Msg-id 6489.960145123@sss.pgh.pa.us
Whole thread Raw
In response to Compiling Error  (Jesus Aneiros <aneiros@jagua.cfg.sld.cu>)
List pgsql-general
Jesus Aneiros <aneiros@jagua.cfg.sld.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

pgsql-general by date:

Previous
From: "g.p.ciceri"
Date:
Subject: does vacuum reclaim unused space from an index ???
Next
From: Charles Tassell
Date:
Subject: Re: Compiling Error