Opened 11 years ago
Closed 11 years ago
#5599 closed defect (fixed)
Sudo-1.8.11 does not build if PAM is not installed
Reported by: | Pierre Labastie | Owned by: | Pierre Labastie |
---|---|---|---|
Priority: | high | Milestone: | 7.7 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
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.
Change History (3)
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 11 years ago
Priority: | normal → high |
---|
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Thanks for the information. Fixed at r14413
Note:
See TracTickets
for help on using tickets.
Please, fix it, if you don't mind.
It breaks also in 32bit.