[Techtalk] finding compiled options in Samba

Devdas Bhagat devdas at dvb.homelinux.org
Mon Feb 28 08:23:12 EST 2005

On 27/02/05 11:39 -0800, Carla Schroder wrote:
> hallo all,
> Is there a way to find out what options have been compiled into Samba? 
> Given how this such a common question for all linux apps, wouldn't it be 
> lovely to have some sort of universal convention for all apps, so that no 
> matter how they were installed- deb, rpm, source-built- you could always find 
> out with a simple query.

ldd(1) is usually a good enough guess.

It can be inaccurate when a library is linked in because of a dependency
from another library. This can be particularly irritating for things
like libsasl and libldap (which is linked to libsasl, so if your
application is compiled with ldap support, it gets linked to libsasl,
but does not have actual sasl support built in).

Devdas Bhagat

More information about the Techtalk mailing list