Radek Kotesovec <rkotesovec@kerio.com> writes: > auth_krb5_t: relocation error: ./my_shared.so: undefined symbol: _Z17krb5_init_contextPP17krb5_context_data This looks like C++ name mangling. You need extern "C" around the include. /Johan