[Samba] How to determine Samba Installation directory

Mark Foley mfoley at novatec-inc.com
Thu May 1 01:43:31 UTC 2025


On Wed Apr 30 16:39:51 2025 Jeffrey Walton <noloader at gmail.com> wrote:
>
> On Wed, Apr 30, 2025 at 3:41 PM Mark Foley via samba
> <samba at lists.samba.org> wrote:
> >
> > I'm building Samba from a scratch download from samba.org.  One of the ./configure
> > options is --prefix, which directs where to install the files.
> >
> > The "default" is /usr/local/samba, but from experience I know my distro does not
> > put the files there. There is nothing in either my /usr/lib/samba or
> > /usr/local/samba.
> >
> > How can I determine where my current --prefix directory is?
>
> If you have a config.site, then the default installation directories
> are taken from it. However, once ./configure is run, you often have a
> *.pc file that provides the directories.
>
> Also see bug reports like <https://bugzilla.redhat.com/show_bug.cgi?id=1510073>.
>
> Jeff

I don't have a config.site. I used the pre-built distro Samba and did not
initially build it myself, so no *.pc either.

I'll check out your bugzilla link before I pull the trigger.

THX --Mark




More information about the samba mailing list