Figured it out!!!!

When I was originally debugging this problem I used strace when I was
calling inetd.  This didn't give me any valuable output, especially
because the getservbyname call was not in the output.  Presumably
because inetd is a daemon??

I don't have much experience with strace so I assumed (because of the
output strace gave me on inetd) it only showed system calls and not
library calls.  I eventually tried it with my test program which was
calling getservbyname and got much more valuable output.

It turns out that it was looking for libc.so.6.  I didn't think that
libc.so.6 was needed because it was statically linked in the app.  Which
is unfortunate because space is really limited in my environment, but at
least I know what's causing the problem.

Thanks for all the help.  I really appreciate it.

-Tim


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to