|
Bugzilla – Full Text Bug Listing |
| Summary: | sudo: symbol 'crypt': can't resolve symbol in lib '/usr/libexec/sudoers.so' | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Natanael Copa <ncopa> |
| Component: | Configure | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | high | ||
| Priority: | low | ||
| Version: | 1.8.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | libcrypt.patch | ||
|
Description
Natanael Copa
2011-03-04 03:55:46 MST
Created attachment 305 [details]
libcrypt.patch
The attched patch fixes the issue for Alpine Linux.
Basicly it just adds -lcrypt hard to sudoers.so.
Some libraries used for authentication were being added to SUDO_LIBS where they should be added to SUDOERS_LIBS. In the case of shared libraries, this is not a big deal, but if the libraries are static this could cause the problem you report. I've fixed that in the source repo, can you try ftp://ftp.sudo.ws/pub/millert/sudo/configure and verify that it works correctly for you? (In reply to comment #2) > Some libraries used for authentication were being added to SUDO_LIBS > where they should be added to SUDOERS_LIBS. In the case of shared > libraries, this is not a big deal, but if the libraries are static this > could cause the problem you report. > > I've fixed that in the source repo, can you try > ftp://ftp.sudo.ws/pub/millert/sudo/configure and verify that it works > correctly for you? Yes, that seems to work. Please make sure it gets included in the 1.8.1 release. Thanks! This is fixed in 1.8.1 which is currently in beta test, see http://www.sudo.ws/sudo/devel.html Fixed in sudo 1.8.1 |