_nss_cache_cycle_prevention_function trick causes problems with plugins

Johannes Hofmann johannes.hofmann at gmx.de
Mon Feb 2 04:01:34 PST 2009


Hi,

I'm using an application that has a dynamic plugin loading mechanism.
Since recently I get:

LibLoader::resolve: Error on resolving
"ddvcard_openhbci_plugin_interface_version": Undefined symbol
"_nss_cache_cycle_prevention_function"

Which I guess is due to the _nss_cache_cycle_prevention_function trick
described in /usr/src/usr.sbin/nscd/nscd.c.

Wouldn't it be simpler and more obvious to disabel nss caching for the
nscd binary by just calling a function "disable_nss_cache" that
set's a variable in libc?

Regards,
Johannes





More information about the Users mailing list