Thread: Linking problem with crypt

Linking problem with crypt

From
"Wenhao Meng"
Date:
    I use libpq in an applicatiopn. During linking, there is message which says:
 
/usr/local/pgsql/lib/libpq.so: Undefined reference to 'crypt'.
 
I do not know what it is wrong. How do I do to solve this linking problem?
 
I appreciate any suggestion and help.
 
Best Regards,
 
Wenhao