On OS X Samba is creating incorrectly named dylibs:
Dylibs should be named libname.dylib or libnamenumber.dylib.
The dylib should always be the file ending, rather than any numbers or letters, as OS X expects to find dylibs ending in `.dylib` and can throw errors when they aren't so.
For additional clarity, I'm building using the configure and Makefile scripts in the source3 folder.
the old build system is no longer supported. Only the waf build from toplevel is supported. How does that work for you? If the problem you described here initially does not happen there, we have to close this one. If you see other problems with the toplevel build, please report them in new bug reports. Thanks!