-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jesse,

OK -- I'm the one not paying attention (slap).

Thanks to your very lucid explanation, I pulled my head from the dark,
oxygen-deprived enclosure where it had become deeply lodged and looked at
/usr/lib (where my krb5 libraries are installed).

Sure enough, I had _two_ krb5 libraries: krb-3.1 and krb-17.2.1. 
Unfortuntately, my libkrb5.so was linked against the *former* rather than
the latter.  Grepping the libs told me rather quickly that that old libs
didn't include the functions I needed linked in.  Changed the libkrb5.so
link to point at the correct library and -- well, success (duh).

Why do i feel like such a dummy when I make so obvious a boo-boo? Not like
I haven't seen this before. Public floggin is in order.

Thanx much for the prod,

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

On Wed, 11 Dec 2002 08:22:40 -0700 (MST)
begin  "Jesse Norell" <[EMAIL PROTECTED]> spewed forth:

> 
> Hello David,
> 
>   Header files (eg. krb5.h) are only used when compiling a
> program or library, and as Roel pointed out, dbmail itsself
> does not use kerbose.  Looks like your postgres libraries
> are using it.  They've already been compiled, they're just
> being linked into the executable your building (the dbmail
> programs), so they're not needing krb5.h at this point
> either - what they do need is a kerbose library to link in
> as well.  You're on the right track with adding that -lkrb5,
> ie. trying to get that library added in, but it's not making
> it.  Check to make sure it's named that (eg. the file is
> libkrb5.so.*), and of course that it's actually been
> installed (which package dependencies should have insured
> that when you installed postgres), and then look to see if
> it's in a non-standard directory (not /lib, /usr/lib, etc.),
> in which case you'll need to stick a -L/path/to/that/dir
> in the linker options.
> 
> Jesse
> 

[snip]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE993UM3uVcotqGMQcRAv2kAJwLsxsUl9RgILpp3KF2tq80Xz8WFQCfXwB7
nlM5qZxhKCUhYM52fO546lI=
=ffdx
-----END PGP SIGNATURE-----

Reply via email to