Can't link kadm5 library to my program

gregorio@le.infn.it gregorio at le.infn.it
Mon Sep 8 10:36:05 EDT 2008


Hello everyone.

I'm trying to create a simple program that uses kadm5's APIs to connect the
admin-server and to do some operations.

But, when I use any function of the kadm5's APIs, the linker (ld) isn't able to
link my program with the correct library.

For Example, if I use kadm5_init_with_password(), ld tells me it can't find that
functions in any library. I tried to manually link the libkadm5clnt to the
program, but ld tells me it can't find libkadm5clnt, even if I use the -L flag
to specify the location where to find the lib.

Does anyone know how to solve this?
Thanks from now.




More information about the krbdev mailing list