[BusyBox] Busybox inetd wu-ftpd getservbyname

Yoann Allain yallain at avilinks.com
Thu Apr 29 13:23:24 UTC 2004


Michael Shearer wrote:

>Hi Yoann,
>
>If you haven't compiled busybox with "internal password and group functions rather than system functions" found under the Login/Password Management Utilities section, chances are you will need libnss_files.so.  glibc 2.x.x uses DLL type access to acces this file using the dlopen() routine.  Binaries that use dlopen will not list these libraries as dependencies when doing an ldd nor will they list it as "NEEDED" when using readelf unless you've added it manually to the ELF header.
>
>The only way I've found of detecting this dependencies is using "strace" on my application to verify which dynamic library hasn't been found.
>
>Mike
>
>  
>
Thanks a lot for answering...

I've checked my busybox options and the "use internal password and group 
functions rather than system functions" option is used...
That's also why I thought I didn't need the nsswitch.conf file at start.
Bu thanks for the dlopen() explanation

Yoann



More information about the busybox mailing list