[sudo-users] Compiling sudo with static libraries

Buckley, Mike Mike_Buckley at csgsystems.com
Fri Jul 10 10:50:24 EDT 2009

I am trying to compile sudo 1.7.1 on Solaris 9.  When I run configure with the following options, noexec doesn't compile.  However when I remove --enable-static and --disable-shared, noexec compiles without issue.

--prefix=/opt/CSGsudo/1.7.1 \
--enable-static \
--disable-shared \
--disable-root-sudo \
--enable-log-host \
--without-mail-if-no-user \
--with-mail-if-no-host \
--with-mail-if-noperms \
--with-sendmail=/usr/lib/sendmail \
--with-env-editor \
--with-timeout \
--with-timedir=/var/run/sudo \

This is my first time around compiling sudo, so any help would be greatly appreciated.


Mike Buckley

More information about the sudo-users mailing list