#5599: Sudo-1.8.11 does not build if PAM is not installed
-----------------------------+-------------------------
Reporter: pierre.labastie | Owner: blfs-book@…
Type: defect | Status: new
Priority: normal | Milestone: 7.7
Component: BOOK | Version: SVN
Severity: normal | Keywords:
-----------------------------+-------------------------
When installing on a fresh LFS-7.6 install:
{{{
libtool: link: gcc -shared -fPIC -DPIC .libs/sudo_auth.o
.libs/getspwuid.o
.libs/passwd.o .libs/boottime.o .libs/check.o .libs/env.o
.libs/find_path.o
.libs/goodpath.o .libs/group_plugin.o .libs/interfaces.o .libs/iolog.o
.libs/iolog_path.o .libs/locale.o .libs/logging.o .libs/logwrap.o
.libs/parse.o .libs/policy.o .libs/prompt.o .libs/set_perms.o
.libs/sudo_nss.o
.libs/sudoers.o .libs/timestamp.o -Wl,--whole-archive
./.libs/libparsesudoers.a -Wl,--no-whole-archive -Wl,-rpath
-Wl,/sources/sudo/sudo-1.8.11/lib/util/.libs -Wl,-rpath -Wl,/usr/lib/sudo
-lcrypt -lshadow ../../lib/util/.libs/libsudo_util.so -ldl -lz -Wl,-z
-Wl,relro -Wl,-soname -Wl,sudoers.so -o .libs/sudoers.so
/usr/bin/ld: cannot find -lshadow
collect2: error: ld returned 1 exit status
Makefile:204: recipe for target 'sudoers.la' failed
make[2]: *** [sudoers.la] Error 1
make[2]: Leaving directory '/sources/sudo/sudo-1.8.11/plugins/sudoers'
Makefile:89: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/sources/sudo/sudo-1.8.11'
}}}
The patch at [http://www.sudo.ws/repos/sudo/rev/fdf06757f25d] allows to
build.
This does not affect building when PAM is installed.
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/5599>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page