[sudo-users] Problem compiling sudo with static libs

Todd C. Miller Todd.Miller at courtesan.com
Wed Oct 1 09:15:08 MDT 2014


You will need to add:

#include <sys/types.h>

after the #include <config.h> to src/preload.c

However, there are other issues with --disable-shared-libutil on
Solaris.  You will need to edit the top-level Makefile and remove
plugins/group_file and plugins/system_group from SUBDIRS or you'll
end up with relocation errors.

 - todd


More information about the sudo-users mailing list