diff -uNr nss_updatedb-4.orig/updatedb.c nss_updatedb-4/updatedb.c --- nss_updatedb-4.orig/updatedb.c 2005-10-26 12:05:14.000000000 +0200 +++ nss_updatedb-4/updatedb.c 2005-10-26 12:10:03.000000000 +0200 @@ -47,7 +47,7 @@ *handle_p = NULL; - snprintf(libpath, sizeof(libpath), "/lib/libnss_%s.so.2", dbname); + snprintf(libpath, sizeof(libpath), LIBNSS_DIR "/libnss_%s.so.2", dbname); handle = (nss_backend_handle_t *)calloc(1, sizeof(*handle)); if (handle == NULL) { Les fichiers nss_updatedb-4.orig/.updatedb.c.swp et nss_updatedb-4/.updatedb.c.swp sont différents. diff -uNr nss_updatedb-4.orig/updatedb.h nss_updatedb-4/updatedb.h --- nss_updatedb-4.orig/updatedb.h 2005-10-26 12:05:14.000000000 +0200 +++ nss_updatedb-4/updatedb.h 2005-10-26 12:09:22.000000000 +0200 @@ -25,6 +25,10 @@ #define DB_DIR "/var/db" #endif +#ifndef LIBNSS_DIR +#define LIBNSS_DIR "/lib" +#endif + #define DB_PASSWD DB_DIR "/passwd.db" #define DB_GROUP DB_DIR "/group.db"