[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

relocation error: my_shared.so: undefined symbo:_Z17krb5_init_contextPP17krb5_context_data



Hello,

I have little problem...

My situation:
I have to create own shared library (my_shared.so), which contains 2 functions:
krb5_authenticate() and krb5_change_password(); this two functions calls appropriate functions from Heimdal distribution for authentication/changing password.

Everything works fine, I compile this code, link this code... and when I run application, which loads my shared library, and has to be called function krb5_init_context(), application crashes with error:

auth_krb5_t: relocation error: ./my_shared.so: undefined symbol: _Z17krb5_init_contextPP17krb5_context_data


... Do you know, what it means?


I have SuSE 9.0 with default Heimdal installation.

Code looks like:

#include <heimdal/krb5.h>

int main(void)
{
  krb5_context context;

  ...

  err = krb5_init_context(&context);

  ...
}


A lot of thanks
with regards,
Radek








Radek Kotesovec
software developer
.................................................................
Kerio Technologies s.r.o.
Anglické nábřeží 1, 301 49 Plzeň
Czech Republic
tel. 377 338 901, fax 377 338 921
www.kerio.cz     www.winroute.cz
.................................................................
No Pasarán!