CpServiceSPb .
2019-Nov-11 23:05 UTC
[Samba] 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 statically linked for all other libraries/binaries which it must be linked to, for that I may of ourse specify --builtin-libraries=ccan,samba-cluster-support,replace,winbind-client,wbclient. But --builtin-libraries replaces --bundled-librariesoption and finally I either get statically linked libraries/binaries without these shared libraries or these shared libraries which other binaries are sharingly linked to. Is there combination of configure options to get and replace, winbind-client and wbclientas shared ones and build it directly to binariies ?
Andrew Bartlett
2019-Nov-11 23:25 UTC
[Samba] Build some shared libraries, and building exact these libraries directly to binaries at the same time.
On Tue, 2019-11-12 at 02:05 +0300, CpServiceSPb . via samba wrote:> > Is there combination of configure options to get and replace, > winbind-client and wbclientas shared ones and build it directly to > binariies ?Try: --nonshared-binary However while it works for may of our binaries not all of Samba supports that. Andrew Bartlett -- Andrew Bartlett https://samba.org/~abartlet/ Authentication Developer, Samba Team https://samba.org Samba Developer, Catalyst IT https://catalyst.net.nz/services/samba
CpServiceSPb .
2019-Nov-12 09:32 UTC
[Samba] 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, CpServiceSPb . via samba wrote: > > > > Is there combination of configure options to get and replace, > > winbind-client and wbclientas shared ones and build it directly to > > binariies ? > > Try: > --nonshared-binary> > However while it works for may of our binaries not all of Samba > supports that. > > Andrew Bartlett > > -- > Andrew Bartlett https://samba.org/~abartlet/ > Authentication Developer, Samba Team https://samba.org > Samba Developer, Catalyst IT > https://catalyst.net.nz/services/samba > > > >
Apparently Analagous Threads
- Build some shared libraries, and building exact these libraries directly to binaries at the same time.
- Build some shared libraries, and building exact these libraries directly to binaries at the same time.
- Build some shared libraries, and building exact these libraries directly to binaries at the same time.
- Samba building is broken when some libraries are specified to be built-in to binaries !
- Building rpcclient statically linked?