25 Jul
2005
25 Jul
'05
20:37
Gheorghe Ardelean <ardelean@ww.uni-erlangen.de>:
: warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
You can't link an app statically that uses any of the functions for name resolution, as these use the libnss* mechanism which requires dynamically loaded modules. So such apps still need the libnss* modules *they were linked to* to be available. My recommendation: either use something like dietlibc (but then all needed libraries need also to be linked against it) or simply don't link glibc statically. Philipp