Hello, I have a problem that I have not been able to find the answer to. Everytime I try to run a C program called "dolly" on tomsrtbt 1.7.361 it dies at he point of calling gethostbyname system call with the following error: gethostbyname: Resolver Error 0 (no error) This means that a NULL was returned instead of a struct filled with host information. I have run dolly on several different distro's and versions of Linux without problem, it's only on the tomsrtbt that this error occurs. Unfortunately I need to get dolly to run on a single diskette because the Linux PC I wish to clone only has one hard drive and dolly can't be running on the disk you wish to clone so I need it to run on tomsrtbt in the diskette drive. I have my /etc/hosts file correct, my /etc/resolv.conf has length of 0 (which is the same on my other Linux machines which run dolly fine since I'm on a local closed network). /etc/host.conf has order hosts first to check so that would not cause this problem. I have tried 2 out of the 3 suggestions that Tom has when your program has errors. I did the static link with -static -s when compiling and also tried without but then put the libc.so.6 libs out (libc.so.6 and ld-linux.so.2) with proper links to /lib since they did not fit. I was going to try to use Tom's libc5-compiling kit, the link's are still there on all of the mirrors for it but there is no package anymore. Also I did a ldd dolly (on the non static version) and the only lib's listed were the ones mentioned above. Also if I do a nslookup on the several hostnames I have in /etc/hosts on my tomsrtbt system I get the expected output so I do not see why gethostbyname would give a resolver error only on my tomsrtbt system. If anyone has any insight to this problem I would much appreciate it. Thank you very much.... - Harald
Harald Fraude IBM RS/6000 SP Software Build/System Test 845-433-7445 T/L 293-7445 [EMAIL PROTECTED]
