[sudo-users] error in compiling sudo on suse 9

asif iqubal asif5241 at gmail.com
Wed Sep 26 10:48:15 EDT 2007


Dear Friends,

I am facing a problem while compiling sudo on suse 9.

Information:
KERNEL:

Linux 2.6.5-7.191-smp #1 SMP Tue Jun 28 14:58:56 UTC 2005 x86_64 x86_64
x86_64 GNU/Linux

LDAP software installed:

openldap2-client-2.2.24-4.5

yast2-ldap-2.9.15-1.3

yast2-ldap-server-2.9.17-0.2

nss_ldap-215-59.5

openldap2-devel-2.3.19-18

openldap2-client-32bit-9-200505311811

yast2-ldap-client-2.9.29-0.3

pam_ldap-169-28.1

openldap2-devel-32bit-9.2-200412202043

ldapcpplib-0.0.3-21.3



PAM software installed:

pam-32bit-9-200407011229

pam-modules-9-18.5

yast2-pam-2.9.14-0.2

pam_ldap-169-28.1

pam-0.77-221.1

pam-modules-32bit-9-200407011229



Sudo version: 1.6.9



CONFIGURE OPTION:

./configure --with-ldap=/usr/lib64 --with-pam



Error:

1. when ./configure runs, gives following error:

checking for LDAP libraries... not found, using –lldap



2. when make is invoked, gives following error:

gcc -o sudo check.o env.o getspwuid.o gettime.o goodpath.o fileops.ofind_path.o
interfaces.o logging.o parse.o set_perms.o sudo.o sudo_edit.o
tgetpass.ozero_bytes.o
ldap.o sudo_auth.o pam.o sudo.tab.o lex.yy.o alloc.o defaults.o strlcpy.o
strlcat.o closefrom.o  -L/usr/lib64/lib  -lpam -ldl -lldap

/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
cannot find -lpam

collect2: ld returned 1 exit status

make: *** [sudo] Error 1



Please Help



Thanks in advance



Asif Iqubal



More information about the sudo-users mailing list