"make test_nss_modules" fails on samba 3.2.0pre2. $ make test_nss_modules Testing nsswitch/libnss_winbind.so nsswitch/libnss_wins.so dlopen() of "./nsswitch/libnss_winbind.so" succeeded. dlopen() of "./nsswitch/libnss_wins.so" failed: libtalloc.so.1: cannot open shared object file: No such file or directory make: *** [test_nss_modules] error Because libnss_wins.so is linked to libtalloc.so and libtdb.so which are included in source/bin.
(In reply to comment #0) > dlopen() of "./nsswitch/libnss_wins.so" failed: libtalloc.so.1: cannot open > shared object file: No such file or directory After "make install" is missed the symbol link to lib: /usr/lib -rwxr-xr-x 1 root root 88161 2008-03-06 02:57 libtalloc.so lrwxrwxrwx 1 root root 12 2008-03-04 19:37 libtalloc.so.1 -> libtalloc.so Seems that libtdb.so has the same problem.
In order to run "make test" and friends, you need to set LD_LIBRARY_PATH=./bin (e.g.).
Ricardo: The problem, you describe is a different issue. The make test calls are performed from inside the source dir. Cheers - Michael
Yasuma: I have fixed this issue in v3-2-test by correctly setting LD_LIBRARY_PATH for the test_shlibs, test_nss_modules and test_pam_modules targets in 21a527569bccff8e8cb6e751c9f3fce6ff598204. Cheers - Michael
I confirmed this bug fixed. Thanks!