Re: How to build Samba4 using static linked libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Thanks very much for answers from both Stefan and Volker.

The solutions from both of you are built for source3/torture/

I actually want to build the smbtorture using source code under source4/torture/smb2
I am trying the solutions you gave, but not sure if they apply to source4/torture/smb2.

Thanks a lot

-----Original Message-----
From: Stefan (metze) Metzmacher [mailto:metze@xxxxxxxxx] 
Sent: Monday, May 07, 2012 3:48 PM
To: Sun, Peixing
Cc: samba-technical@xxxxxxxxxxxxxxx; samba@xxxxxxxxxxxxxxx
Subject: Re: How to build Samba4 using static linked libraries


> 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?

Take a look at;a=blob;f=source3/Makefile-smbtorture4;

This should build a statically linked smbtorture4:

cd source3
make bin/smbtorture4


To unsubscribe from this list go to the following URL and read the

[Linux]     [Info Cyrus]     [LARTC]     [Bugtraq]     [Netfilter]     [Internet Dating Forums]     [RAID]     [Yosemite News]     [Photography]

Add to Google Powered by Linux