Displaying 20 results from an estimated 800 matches similar to: "How to build samba-4.6.7 with static linked option?"
2017 Sep 25
0
Cannot compile and links statically
Hi! everyone!
I am a student from China,my name is Aloha Jack! This is the first time I send a message to the mail lists !
Haha!
When I get the sources from the website,I configure with this options below:
./configure \
--builtin-libraries=replace,smbtorture,smbpasswd,pdbedit,smbd/smbd,nmbd/nmbd \
--without-ldap \
--without-ads \
--disable-cups \
--disable-iprint \
--bundled-libraries=ALL \
2018 Nov 15
5
Lightweight build of smbclient only
I'm interested in using smbclient in an embedded Linux system, to copy files to a Windows file share. I don't need the entire samba suite. I'd like to get a smbclient compile that is reasonably small (less than 3 MB ideally).
I'm building the embedded Linux system cross-compiled for an ARM based platform using Yocto. Yocto has support for building samba. But it is aimed at the
2015 Oct 22
1
how to build smbtorture using static linked libraries
Hello all:
I am trying to build smbtorture using static linked libraries.
The samba source code I have is samba-4.1.13
for configure, I did:
waf configure --builtin-libraries=ALL
for build, I did:
waf build --targets=smbtorture (so that it only build target smbtorture)
But, the waf build fails immediately.
Then, I tried to only link with lib talloc and tevent statically, so I did:
waf
2019 Jul 02
2
[Announce] Samba 4.9.10 Available for Download
> Yes, that is what has happened. It will be in the samba 4.9 git tree,
> but because no version increment was done builds on systems that have
> ldb from the system will fail.
My version of ldb is "libldb-1.3.4-1.el7.x86_64", which I suppose is the
stock CentOS 7.6 version.
The first time I buiIt with "--without-ad-dc". I just built it again as
AD-DC and the
2018 Jun 18
2
Building rpcclient statically linked?
On Mon, 2018-06-18 at 10:35 -0400, pisymbol via samba wrote:
> Small addendum, I did try:
>
> ./configure --nonshared-binary=ALL
>
> ERROR: source source3/smbd/notify_msg.c is in more than one subsystem of
> target 'smbstatus': ['smbd_base.objlist', 'smbstatus.objlist']
>
> This is CentOS 7.5.
>
> -aps
Building more than smbd and
2018 Jun 18
2
Building rpcclient statically linked?
I have Googled around looking for the magic configure to waf incantation to
get this accomplished but nothing seems to work.
Does anyone know how to build rpcclient statically linked? Or all binaries
statically linked?
Thanks!
-aps
2019 Jun 10
1
List of bundled libraries Samba-4.10
Am Montag, 10. Juni 2019, 07:56:24 CEST schrieben Sie:
> On Sun, 2019-06-09 at 23:34 +0200, Johannes Engel via samba wrote:
> > Dear list,
> >
> > is there a comprehensive list of libraries available that can be
> > included and
> > excluded from build with waf using --bundled-libraries="comma
> > separated
> > list"?
> > If compiling
2019 Mar 29
2
samba 4.9.5 - joining Samba DC to existing Samba AD failed (ldbsearch has not -U and -V)
On Fri, 29 Mar 2019 09:28:37 +0100
Franta Hanzlík <franta at hanzlici.cz> wrote:
> On Wed, 27 Mar 2019 13:11:08 +0000
> Rowland Penny via samba <samba at lists.samba.org> wrote:
>
> > On Wed, 27 Mar 2019 13:00:42 +0100
> > Franta Hanzlík <franta at hanzlici.cz> wrote:
> >
> > > Yes, is no difference between '-UAdministrator' and
2019 Nov 11
2
Build some shared libraries, and building exact these libraries directly to binaries at the same time.
I need that replace, winbind-client and wbclient libraries would be built
as shared ones, for what I specify
--bundled-libraries=NONE,pytevent,roken,replace,wind,hx509,asn1,heimbase,hcrypto,krb5,gssapi,heimntlm,hdb,kdc,com_err,compile_et,asn1_compile,winbind-client,wbclient
as ./configure option.
But I need at the same time that these libraries replace, winbind-client
and wbclient would be
2023 Jan 18
1
Building samba 4.17.4 on CentOS7
On 18/01/2023 14:20, Greg Dickie via samba wrote:
> Hi,
>
> I used to build samba regularly but it's been a couple of years. I'm trying
> to fix an issue with samba stock 4.10.16 on Cent7 by building latest and
> seeing if it behaves the same but it looks like waf is not doing what's
> expected. Simple question: should this work or is cent7 now too old and
>
2015 Oct 22
2
how to build smbtorture using static linked libraries
Hello all:
I am trying to build smbtorture using static linked libraries.
The samba source code I have is samba-4.1.13
for configure, I did:
waf configure --builtin-libraries=ALL
for build, I did:
waf build --targets=smbtorture (so that it only build target smbtorture)
But, the waf build fails immediately.
Then, I tried to only link with lib talloc and tevent statically, so I did:
waf
2019 Nov 12
2
Build some shared libraries, and building exact these libraries directly to binaries at the same time.
As I understood it is 2nd case:
> Or are there specified binaries where the libraries are builtin to, for
examle:
> --nonshared-binary=testparm, smbtorture, smbd and so on ?
But in the case of binaries list, all binaries mentioned at the list will
be linked statically with ALL libraries, not only 3 (in my case) .
Am I right ?
??, 12 ????. 2019 ?. ? 20:19, Andrew Bartlett <abartlet at
2019 Nov 12
2
Build some shared libraries, and building exact these libraries directly to binaries at the same time.
Should I specify _libraries_ what I want to build directly to binaries,
for example:
--nonshared-binary=replace,winbind-client,wbclient ?
Or are there specified binaries where the libraries are builtin to, for
examle:
--nonshared-binary=testparm, smbtorture, smbd and so on ?
??, 12 ????. 2019 ?. ? 02:25, Andrew Bartlett <abartlet at samba.org>:
> On Tue, 2019-11-12 at 02:05 +0300,
2016 Mar 15
2
Building smbclient 4.3.3 as one executable without shared libraries
When we build smbclient 4.3.3 we now have 76 shared libraries to deliver with the smbclient binary. Is there any way to specify it statically linking the libraries so we only have to deliver an executable ? With 3.6.5 and 4.0.7, we only had 3 libraries, which was more more manageable.
Thank you,
Mike Tompkins
2020 Aug 20
2
Making a static build of smbclient
Hello, I'm having troubles with making a static build of smbclient. I've
searched the archives, and it seems like I'm getting close, but I'm not
quite there yet. I've tried:
./configure --nonshared-binary=smbclient
make bin/smbclient
But then when I run `ldd bin/smbclient`, I see a lot of linked libraries
still. And if I copy it to a fresh docker container (to try it in a
2014 Aug 30
1
help compiling samba
I'm compiling samba-3.6.22 for android with the sourcery arm-2010q1
compiler. The compile itself goes fine, but when I copy smbd to my device
it's not recognized as a binary. I get the error
sh: ./smbd: No such file or directory
file under linux tells me:
smbd: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not
2023 Oct 17
1
smbclient static build
On Tue, 2023-10-17 at 13:08 +0200, banda bassotti via samba wrote:
> hello, has anyone managed to compile static smbclient? it's a
> question that
> is asked from time to time but there are never comprehensive answers:
> if yes
> how, no, too complex :)
>
> thnx a lot.
It may or may not be possible, but if it is then the command should be:
./configure
2017 Sep 18
1
Newer SMBTREE versions don't find all systems.
Hi,
Trying the latest version again tonight 4.6.7 it has the same problem
I've seen with the prior newer versions as well. The one I went back
to was 4.4.15 which works. What is happening right now is there is a
Win2K3 box that is the domain server, with thecompanydomain.com
(NetBIOS domain name: COMPANY). That has the __MSBROWSE__ on it. I
have a Linux Wheezy system on that is part of
2015 Oct 26
1
build my own server-side-copy client code using samba4 source code
Hello all:
I am working on implementing server-side-copy client code.
When I checked samba4 source code, I saw that smbtorture has some sort of
function that does server-side-copy client function.
So, I followed the way that smbtorture does, and implemented my own
server-side-copy client code (let's call it cifs_cp).
Basically, my cifs_cp code, calls the functions in the files of:
2001 Aug 16
1
crt1.o skipped at configure time ? (PR#1057)
Full_Name: Laurent Gautier
Version: 1.3.0-patched
OS: IRIX 6.5
Submission from: (NULL) (130.225.67.199)
During the configuration step, things do not go perfect:
The file config.log has :
configure:3754: gcc -o conftest -g -O2 -I/usr/freeware/include
-I/usr/local/include -static conftest.c -L/usr/local/lib 1>&5
ld32: FATAL 9 : I/O error (/usr/lib32/mips3/nonshared/crt1.o): No such