Closed ashway83 closed 2 years ago
Hi @ashway83,
Are you sure a value of -1 is correct for uClibc (as I understand what is used in Alpine)? The error is used specifically to signal to the C library that the buffer provided to fill in the result addresses is too small.
https://uclibc.org/downloads/Glibc_vs_uClibc_Differences.txt suggests that uClibc does not support NSS at all so there should not be much use of compiling the NSS module of nss-pam-ldapd on that platform (probably use --disable-nss
).
Closing this now due to lack of response (I know I'm not very responsive myself, sorry about that). If this is still relevant, please re-open.
This fixes build issue on Alpine and potentially other non-glibc Linux distributions.
Similar fix in the other project: https://github.com/gambit/gambit/commit/490f0a7d50125478f374330f0b8754bc0aee3746
Signed-off-by: Andriy Sharandakov ash.ashway@gmail.com