[sudo-workers] [PATCH] Fix the undefined sudo_debug_exit_ssize_t_v1 symbol error in sudoers plugin (versions > 1.8.15)

Todd C. Miller Todd.Miller at courtesan.com
Fri Jul 8 05:37:42 MDT 2016

On Fri, 08 Jul 2016 12:41:03 +0200, Guido Trentalancia wrote:

> In versions greater than 1.8.15, the shared object sudoers.so (plugin)
> should link sudo_debug.c in order to avoid the following missing symbol
> error on calls to debug_return_ssize_t()->sudo_debug_exit_ssize_t():
> sudo: symbol lookup error: /usr/libexec/sudo/sudoers.so: undefined symbol: su
> do_debug_exit_ssize_t_v1

That symbol is provided by libsudo_util.so which sudoers.so links with.
Perhaps you have a mismatched sudoers.so and libsudo_util.so?

Try running:

nm /usr/libexec/sudo/libsudo_util.so | grep sudo_debug_exit_ssize_t_v1

You should see something like:

000000000000a0d0 T sudo_debug_exit_ssize_t_v1

 - todd

More information about the sudo-workers mailing list