What people who are often building Samba use on Linux to start smbd etc?
Andrew Bartlett
abartlet at samba.org
Sun Apr 22 23:14:39 MDT 2012
On Sun, 2012-04-22 at 18:05 -0700, Richard Sharpe wrote:
> Hi folks,
>
> Do those of you who are often building Samba on Linux and installing
> it directly out of the source tree use any init scripts etc to start
> Samba?
>
> I currently start smbd manually from /usr/local/samba/sbin/smbd but do
> the following before that:
>
> export LD_LIBRARY_PATH=/usr/local/samba/lib/
>
> This seems a bit too painful for non hardcore people.
You edit /etc/ld.so.conf to include the correct lib dir.
> What is the better approach? I hunted around for a script in the
> source tree, but couldn't find one.
>
> I guess I could hack the /etc/init.d/smb script provide by the Fedora
> RPMs I have installed.
For 4.0, the top level waf build uses rpath to avoid exactly this issue.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical
mailing list