Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

chrooted environment gethostbyname segfaults

Status
Not open for further replies.

transprox

Programmer
Nov 29, 2002
8
HU
I have a chrooted environment for Apache/PHP. All is well but gethostbyname, to the extent the small C program from segfaults. Outside of the chroot it works fine. Maybe some config file is missing for libresolv.so.2 but I can not find which one. I suspect this library because this is the last one opened in the strace log, though I can not see any failed system calls in this log. Debian, libc version 2.3.1-3.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top