[Samba] How to build Samba4 using static linked libraries

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon May 7 13:38:46 MDT 2012


On Mon, May 07, 2012 at 02:23:22PM -0400, peixing.sun at emc.com wrote:
> I am building the  torture/smbtorture for
> samba-4.0.0alpha17.  After build,  I am running the test
> in another environment.
> I not only need to copy the binary smbtorture,  I also
> need to copy the shared libraries.   This is HUGE
> inconvenient for us.
> 
> Could somebody tell me how to build the binary using static linked libraries?

For me if I do a 

./autogen.sh; ./configure.developer; make; make bin/smbtorture4

in the source3 directory, bin/smbtorture4 links only against
system libs. You might want to try that.

With best regards,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list