[sudo-users] makefile error

Todd C. Miller Todd.Miller at courtesan.com
Thu Sep 4 10:29:12 EDT 2008


In message <881F54DCA3F26C4696683605F62B40220765C962 at VSEXMS-03.coventry.ac.uk>
	so spake "Rachael Brown" (ccx110):

> I am new to sudo and when running make I keep getting the following
> error 
> 
> gcc -o sudo check.o env.o getspwuid.o gettime.o goodpath.o fileops.o
> find_path.o interfaces.o logging.o parse.o set_perms.o sudo.o
> sudo_edit.o tgetpass.o zero_bytes.o  sudo_auth.o pam.o sudo.tab.o
> lex.yy.o alloc.o defaults.o strlcpy.o strlcat.o closefrom.o   -lpam -ldl
> 
> /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-l
> inux/bin/ld: cannot find -lpam

Do you have the pam and pam-devel packages installed?  If you system
doesn't use pam, you can just run configure with the --with-pam=no
flag and re-run make.

 - todd



More information about the sudo-users mailing list