Help is required to build static library of libwbclient

Richard Sharpe realrichardsharpe at
Fri Jun 15 10:25:54 MDT 2012

On Fri, Jun 15, 2012 at 7:51 AM,  <peixing.sun at> wrote:
> I have the same build problems to build smbtorture for Samba4.  It has to link
> with 98 shared samba4 libraries.
> It is really inconvenient.

Your task, should you accept, is to remove this annoyance by figuring
out how to make a static build yourself. Surely someone who works for
EMC can manage that?

> I got many suggestions on how to make the static build, none of them worked.
> I used samba4.alpha1 through alpha11,   static build is way better.
> Attention developers:  Please let me use static build.   Shard libraries is not good at all.  Who want an executable with 98 shared samba4 libraries?
> Peixing
> -----Original Message-----
> From: samba-technical-bounces at [mailto:samba-technical-bounces at] On Behalf Of bhagavansprasad
> Sent: Thursday, June 14, 2012 7:55 AM
> To: samba-technical at
> Subject: Help is required to build static library of libwbclient
> Hi All,
> Can somebody help me in configuring "sources3" so that I can build static
> library of libwbclient.
> None of the below options worked for me
> ./configure --with-static-modules=smbget --with-static-libs=libwbclient
> ./configure --with-static-modules=smbget --enable-static=libwbclient
> ./configure --with-static-modules=smbget --with-static-modules=libwbclient
> How do I know which option to use?  "--with-static-libs" or
> "--enable-static" or "--with-static-modules"
> regards
> Bhagavan
> --
> View this message in context:
> Sent from the Samba - samba-technical mailing list archive at

Richard Sharpe

More information about the samba-technical mailing list