From: | "hecong" <hecong(at)iinchina(dot)net> |
---|---|
To: | <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Possible bug in postgres || libpq |
Date: | 1999-09-02 09:22:05 |
Message-ID: | 000701bef524$9fa6f760$861310ac@hecong.iinchina.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
my name : hecong
my email address : hecong(at)iinchina(dot)net
System Configuration
Architecture: Intel Pentium
Operating System: RetHat 6.0
PostgreSQL version: PostgreSQL-6.4.2
my problem
when I compiled my program , It report:
/usr/lib/libpq.a(fe-auth.o): In function `pg_password_sendauth':
fe-auth.o(.text+0x27): undefined reference to `crypt'
collect2: ld returned 1 exit status
why ?
my program :
#include <pgsql/libpq-fe.h>
main()
{
PGconn * conn;
conn=PQsetdb(NULL,NULL,NULL,NULL,"hecong");
}
compile: cc test.c /usr/lib/libpq.a
From | Date | Subject | |
---|---|---|---|
Next Message | Christian Denning | 1999-09-02 13:08:28 | Re: Linux/Postgres 6.5 problems using jdbc w/jdk1.2 |
Previous Message | Petter Reinholdtsen | 1999-09-01 09:07:31 | temp tables failes in transaction mode |