Bug 5 - Symbol res_search not found under powerPC linux.
Symbol res_search not found under powerPC linux.
Status: RESOLVED WONTFIX
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.3
Other Linux
: normal normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2000-09-11 09:49 MDT by Mark K. Gardner
Modified: 2001-12-17 20:43 MST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.