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