Bug 5

Summary: Symbol res_search not found under powerPC linux.
Product: Sudo Reporter: Mark K. Gardner <mkg>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: normal    
Version: 1.6.3   
Hardware: Other   
OS: Linux   

Description Mark K. Gardner 2000-09-11 09:49:49 MDT
Compiling sudo-1.6.3p5 under ppc-unknown-linux fails because res_search is not
found. Symbol res_search is in libresolv.a and configure successfully determines
that fact but -lresolv does not appear in the link commandline.

Work around: add --with-libraries=resolv to the configuration commandline.

Configuration: dual 450 G4 running LinuxPPC 2000
Comment 1 Todd C. Miller 2001-12-17 16:43:59 MST
Sudo does not call res_search() itself.  If this version of Linux requires anything that calls
gethostbyname() to link with -lresolv then it is broken.  Other versions of Linux do not exhibit
this problem.