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 Peixing -----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 Hi, > 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 https://gitweb.samba.org/?p=samba.git;a=blob;f=source3/Makefile-smbtorture4; This should build a statically linked smbtorture4: cd source3 ./configure.developer make bin/smbtorture4 metze -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Linux] [Info Cyrus] [LARTC] [Bugtraq] [Netfilter] [Internet Dating Forums] [RAID] [Yosemite News] [Photography]
![]() |
![]() |