[sudo-workers] Problems building sudo-1.6.8p12 on RHEL3u7 (undefined reference to `closefrom')
Coe, Colin C.
Colin.Coe at woodside.com.au
Mon Jul 17 00:57:19 EDT 2006
Hi all
I need to roll a new sudo rpm in which the sudoers file is found on an
NFS drive (eg /nfs/etc/sudoers).
I've downloaded
ftp://ftp.falsehope.com/pub/sudo/sudo-1.6.8p12-1.src.rpm, made some
changes to the .spec file and built the RPM. Once the new RPM is
installed when I try and use 'sudo' I get an error saying "undefined
symbold: closefrom".
I've gone over the ./configure logs and found:
configure:26268: checking for closefrom
configure:26318: gcc -o conftest -O2 -g -pipe -fpie -pie conftest.c
>&5
/tmp/ccIRxaVc.o(.text+0x3): In function `main':
/usr/src/redhat/BUILD/sudo-1.6.8p12/configure:26397: undefined reference
to `closefrom'
/tmp/ccIRxaVc.o(.data.rel+0x0):/usr/src/redhat/BUILD/sudo-1.6.8p12/confi
gure:26397: undefined reference to `closefrom
Yet the config.h still ends up with
#define HAVE_CLOSEFROM 1
I've had no problem building this RPM on RHEL 4.
Any ideas?
Thanks
CC
More information about the sudo-workers
mailing list