You aren't including the crypt library, or your system doesn't have
it. Try adding
-lcrypt
to the end of your compile command and try again.
At 12:44 PM 6/4/00, Jesus Aneiros wrote:
>Hi,
>
>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
>
>Best regards, Jesus.