I wrote a trivial (so I didn't include, but I will if I must...) C
program using the libpq C interface which compiles cleanly. My problem
is with the linker. There are two files, one contains (tested) code
for a standard set of cgi functions and the other contains code that
calls the db. Here's the gcc command I'm using:
gcc login.c stdcgi.c -I /usr/local/pgsql/include/ -L
And here's the error I'm getting:
/usr/local/pgsql/lib//libpq.a(fe-auth.o): In function
fe-auth.o(.text+0x17): undefined reference to `crypt'
I haven't dug through the postgreSQL code and perhaps I haven't read the
user manual thoroughly enough, but I'm not making any calls to
"pg_password_sendauth", so I'm confused with this error message.
Any help would be appreciated.
pgsql-interfaces by date
|Next:||From: kirill||Date: 1998-11-21 09:04:49|
|Subject: pgaccess problem (with libpgtcl)|
|Previous:||From: David Hartwig||Date: 1998-11-20 21:23:51|
|Subject: Re: [INTERFACES] Re: OBBC for MS Access97|