I run configure script with options ./configure --libdir=/usr/local/lib/samba --sysconfdir=/usr/local/etc When I start Samba after building, I get a message that smb.conf not found in /usr/local/lib/samba not in /usr/local/etc
It's a bug in that --with-fhs will not let you overreide the defaults (even if you don't enable that option).
You have to use --with-configdir=<path>. Or you can do something like: ./configure --sysconfdir=/etc --with-configdir=@sysconfdir@/samba
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
database cleanup