|
Bugzilla – Full Text Bug Listing |
| Summary: | Link error for sudoers because of missing -lshadow | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | jue |
| Component: | Configure | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dilfridge, polynomial-c, ulm |
| Priority: | low | ||
| Version: | 1.8.11 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: | https://bugs.gentoo.org/show_bug.cgi?id=524074 | ||
| Attachments: | Only check for getspnam() in -lshadow if not in libc | ||
|
Description
jue
2014-09-27 06:32:04 MDT
Created attachment 431 [details]
Only check for getspnam() in -lshadow if not in libc
The attached patch should fix things. I don't know if there are still any Linux distros that use a separate shadow lib but I'm going to leave support for that just in case.
Thanks, the patch works for me. This is also seen in Gentoo Linux bug http://bugs.gentoo.org/524074 by users who are building sudo with USE=-pam (which translates to the --without-pam configure option). Fixed in sudo 1.8.11p1, available now. |