On Mon, 09 Dec 2002 05:54:21 +1200
begin  Richard Barrington <[EMAIL PROTECTED]> spewed forth:

> looks like you need to link against your kerberos library. Possibly,
> adding something like -lkrb5 should do it.
> 
> >And the pertinent text:
> >: undefined reference to `krb5_cc_close'
> >/usr/lib/postgresql/lib//libpq.a(fe-auth.o)(.text+0x1c7): In function
> >`pg_krb5_init':
> >: undefined reference to `krb5_cc_close'
> >collect2: ld returned 1 exit status
> >make: *** [smtp] Error 1
> >Sorry, Make failed.


I did: (from my original post):
cc      -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE main.c -o dbmail-smtp
list.o debug.o pipe.o mime.o pgsql/dbpgsql.o dbmd5.o md5.o bounce.o
forward.o memblock.o pgsql/dbauthpgsql.o config.o
-L/usr/lib/postgresql/lib/ -I/usr/include/postgresql/ -lpq -lcrypto -lssl
-lkrb5
^^^^^^
note the -lkrb5 above.

Thanx, but, that's not it.  And krb5.h is in /usr/include, not a subdir.
Any other ideas?

David A. Bandel
-- 
Focus on the dream, not the competition.
                -- Nemesis Racing Team motto

Attachment: pgpejCbEF7JQL.pgp
Description: PGP signature

Reply via email to