[BusyBox] Busybox inetd wu-ftpd getservbyname

Yoann Allain yallain at avilinks.com
Thu Apr 29 10:43:23 UTC 2004


Hello!

I'm just a newbie using busybox.
I had problem with inetd which was not working because of a problem with 
the file /etc/services.
I noticed there was a problem with getservbyname function called by busybox
To build my ramdisk, I used ldd (ppc_8xx-ldd) to get all the libs I 
needed for Busybox, ftpd and so on...
The problem was that ldd never told me to include libnss_files.so.2 
which was needed!
This lib is used by the nsswitch.conf file, which is used by inetd to 
search in /etc/services.
ftpd was not working too because of a getXXbyYY libc function.
Then I guessed something was missing...
Could someone tell me if there is a way to know libnss_files.so.2 was 
needed?

I wanted to add a post because I didn't find any post on the web solving 
my problem.

Thanks in advance for helping...

Yoann



More information about the busybox mailing list