Bug 9924 - --nonshared-binary not working as expected
Summary: --nonshared-binary not working as expected
Status: RESOLVED INVALID
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.10.4
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-03 10:41 UTC by mampfi
Modified: 2019-06-11 21:51 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mampfi 2013-06-03 10:41:48 UTC
running

buildtools/bin/waf configure --nonshared-binary=smbd
...
make
...

ldd bin/smbd
        linux-vdso.so.1 (0x00007fffabf55000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6ab648d000)
        libsamba-util.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libsamba-util.so.0 (0x00007f6ab6251000)
        libsmbd_base.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libsmbd_base.so (0x00007f6ab5c9a000)
        libndr-samba.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libndr-samba.so (0x00007f6ab5948000)
        libcliauth.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libcliauth.so (0x00007f6ab5732000)
        liberrors.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/liberrors.so (0x00007f6ab54ad000)
        libsamba3-util.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libsamba3-util.so (0x00007f6ab52a0000)
        libpopt_samba3.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libpopt_samba3.so (0x00007f6ab509a000)
        libauth.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libauth.so (0x00007f6ab4e6b000)
        libsmbconf.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libsmbconf.so.0 (0x00007f6ab4bd3000)
        libsamba-sockets.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libsamba-sockets.so (0x00007f6ab49b9000)
        libpdb.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libpdb.so.0 (0x00007f6ab4745000)
        libsmbd_shim.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libsmbd_shim.so (0x00007f6ab4542000)
        libndr-standard.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libndr-standard.so.0 (0x00007f6ab3e73000)
        libsamba-hostconfig.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libsamba-hostconfig.so.0 (0x00007f6ab3c33000)
        libsecrets3.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libsecrets3.so (0x00007f6ab3a26000)
        libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x00007f6ab381b000)
        libtalloc.so.2 => /usr/lib64/libtalloc.so.2 (0x00007f6ab3613000)
        libtevent.so.0 => /usr/lib64/libtevent.so.0 (0x00007f6ab3406000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f6ab305e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f6ab66aa000)
        libreplace.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libreplace.so (0x00007f6ab2e5b000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f6ab2c53000)
        libsmbregistry.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libsmbregistry.so (0x00007f6ab2a30000)
        libprinting_migrate.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libprinting_migrate.so (0x00007f6ab2816000)
        libtevent-util.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libtevent-util.so.0 (0x00007f6ab2613000)
        libnetapi.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libnetapi.so.0 (0x00007f6ab2396000)
        libsmbd_conn.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libsmbd_conn.so (0x00007f6ab2192000)
        libutil_tdb.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libutil_tdb.so (0x00007f6ab1f8e000)
        libnpa_tstream.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libnpa_tstream.so (0x00007f6ab1d85000)
        libsamba-security.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libsamba-security.so (0x00007f6ab1b64000)
        liblibsmb.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/liblibsmb.so (0x00007f6ab18f7000)
        libmsrpc3.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libmsrpc3.so (0x00007f6ab16e0000)
        libccan.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libccan.so (0x00007f6ab14da000)
        libdbwrap.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libdbwrap.so (0x00007f6ab12ce000)
        libkrb5samba.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libkrb5samba.so (0x00007f6ab10c2000)
        libdcerpc-samba.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libdcerpc-samba.so (0x00007f6ab0d37000)
        libndr.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libndr.so.0 (0x00007f6ab0b1c000)
        libutil_reg.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libutil_reg.so (0x00007f6ab0919000)
        libcli_spoolss.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libcli_spoolss.so (0x00007f6ab0712000)
        libads.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libads.so (0x00007f6ab04db000)
        libutil_setid.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libutil_setid.so (0x00007f6ab02d8000)
        liblibcli_lsa3.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/liblibcli_lsa3.so (0x00007f6ab00d3000)
        libwbclient.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libwbclient.so.0 (0x00007f6aafec5000)
        libcli_smb_common.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libcli_smb_common.so (0x00007f6aafc9f000)
        libgse.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libgse.so (0x00007f6aafa6f000)
        libgensec.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libgensec.so.0 (0x00007f6aaf844000)
        libdcerpc-binding.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libdcerpc-binding.so.0 (0x00007f6aaf624000)
        libCHARSET3.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libCHARSET3.so (0x00007f6aaf420000)
        libauthkrb5.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libauthkrb5.so (0x00007f6aaf206000)
        libsmb_transport.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libsmb_transport.so (0x00007f6aaf000000)
        libsamba-modules.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libsamba-modules.so (0x00007f6aaedfd000)
        libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 (0x00007f6aaebbe000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f6aae9ba000)
        libattr.so.1 => /lib64/libattr.so.1 (0x00007f6aae7b5000)
        libtdb.so.1 => /usr/lib64/libtdb.so.1 (0x00007f6aae5a5000)
        libacl.so.1 => /lib64/libacl.so.1 (0x00007f6aae39d000)
        libcups.so.2 => /usr/lib64/libcups.so.2 (0x00007f6aae147000)
        libasn1util.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libasn1util.so (0x00007f6aadf40000)
        libndr-nbt.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libndr-nbt.so.0 (0x00007f6aadd20000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f6aadb0d000)
        libtdb-wrap.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libtdb-wrap.so (0x00007f6aad90a000)
        libutil_cmdline.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libutil_cmdline.so (0x00007f6aad706000)
        liblibcli_netlogon3.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/liblibcli_netlogon3.so (0x00007f6aad500000)
        libsamba-credentials.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libsamba-credentials.so.0 (0x00007f6aad2ed000)
        libndr-krb5pac.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libndr-krb5pac.so.0 (0x00007f6aad0e0000)
        libauth_sam_reply.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libauth_sam_reply.so (0x00007f6aacedc000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f6aaccc4000)
        libpam.so.0 => /lib64/libpam.so.0 (0x00007f6aacab8000)
        libinterfaces.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libinterfaces.so (0x00007f6aac8b5000)
        libserver-role.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libserver-role.so (0x00007f6aac6b2000)
        libcap.so.2 => /lib64/libcap.so.2 (0x00007f6aac4ac000)
        liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00007f6aac29f000)
        libsmbldap.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libsmbldap.so.0 (0x00007f6aac093000)
        libsmbldaphelper.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libsmbldaphelper.so (0x00007f6aabe8d000)
        libflag_mapping.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libflag_mapping.so (0x00007f6aabc8a000)
        libcli_cldap.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libcli_cldap.so (0x00007f6aaba81000)
        libkrb5-samba4.so.26 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libkrb5-samba4.so.26 (0x00007f6aab7fe000)
        libasn1-samba4.so.8 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libasn1-samba4.so.8 (0x00007f6aab553000)
        libaddns.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libaddns.so (0x00007f6aab344000)
        libgssapi-samba4.so.2 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libgssapi-samba4.so.2 (0x00007f6aab108000)
        libcli-ldap-common.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libcli-ldap-common.so (0x00007f6aaaeff000)
        libwinbind-client.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libwinbind-client.so (0x00007f6aaacfb000)
        libcli-nbt.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libcli-nbt.so (0x00007f6aaaaef000)
        libsamdb.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/libsamdb.so.0 (0x00007f6aaa8d7000)
        libsasl2.so.3 => /usr/lib64/libsasl2.so.3 (0x00007f6aaa6be000)
        libgcrypt.so.11 => /usr/lib64/libgcrypt.so.11 (0x00007f6aaa44b000)
        libgnutls.so.28 => /usr/lib64/libgnutls.so.28 (0x00007f6aaa16b000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f6aa9f67000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f6aa9d50000)
        libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x00007f6aa9af1000)
        libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007f6aa9739000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f6aa943c000)
        libsamdb-common.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libsamdb-common.so (0x00007f6aa921c000)
        libldbsamba.so => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libldbsamba.so (0x00007f6aa8fed000)
        libldb.so.1 => /usr/lib64/libldb.so.1 (0x00007f6aa8dc4000)
        libheimbase-samba4.so.1 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libheimbase-samba4.so.1 (0x00007f6aa8bbf000)
        libroken-samba4.so.19 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libroken-samba4.so.19 (0x00007f6aa89af000)
        libhx509-samba4.so.5 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libhx509-samba4.so.5 (0x00007f6aa875a000)
        libhcrypto-samba4.so.5 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libhcrypto-samba4.so.5 (0x00007f6aa8512000)
        libwind-samba4.so.0 => /home/mb/eldk_4.1/arm/usr/src_2.11.0/samba-4.0.6/bin/shared/private/libwind-samba4.so.0 (0x00007f6aa82e9000)
        libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00007f6aa80e5000)
        libnettle.so.4 => /usr/lib64/libnettle.so.4 (0x00007f6aa7eb7000)
        libhogweed.so.2 => /usr/lib64/libhogweed.so.2 (0x00007f6aa7c8a000)
        libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x00007f6aa7a26000)
Comment 1 Andrew Bartlett 2019-06-11 20:47:38 UTC
I agree, that still seems to be the case in master.
Comment 2 Andrew Bartlett 2019-06-11 21:51:16 UTC
The correct configure command is:

./configure.developer --nonshared-binary=smbd/smbd

Sorry!