[samba 0005295]: ld.so.1: smbd: fatal: relocation error: file /opt/csw/lib/samba4/libpopt-samba3-samba4.so: symbol rep_asprintf: referenced symbo

Mantis Bug Tracker noreply at opencsw.org
Wed Feb 1 09:55:05 CET 2017


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5295 
====================================================================== 
Reported By:                ghmuller
Assigned To:                dam
====================================================================== 
Project:                    samba
Issue ID:                   5295
Category:                   packaging
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2017-02-01 06:30 CET
Last Modified:              2017-02-01 09:55 CET
====================================================================== 
Summary:                    ld.so.1: smbd: fatal: relocation error: file
/opt/csw/lib/samba4/libpopt-samba3-samba4.so: symbol rep_asprintf: referenced
symbo
Description: 
The samba4 experimental package doesn't start and fails with following
error:

# smbd -V
ld.so.1: smbd: fatal: relocation error: file
/opt/csw/lib/samba4/libpopt-samba3-samba4.so: symbol rep_asprintf:
referenced symbol not found
Killed

The output from ldd shows:
# ldd -r /opt/csw/sbin/smbd
        libintl.so.9 =>  /opt/csw/lib/i386/libintl.so.9
        libpthread.so.1 =>       /lib/libpthread.so.1
        libsamba-util.so.0 =>    /opt/csw/lib/i386/libsamba-util.so.0
        libsmbd-base-samba4.so =>       
/opt/csw/lib/samba4/libsmbd-base-samba4.so
        libtime-basic-samba4.so =>      
/opt/csw/lib/samba4/libtime-basic-samba4.so
        libutil-setid-samba4.so =>      
/opt/csw/lib/samba4/libutil-setid-samba4.so
        libsamba-debug-samba4.so =>     
/opt/csw/lib/samba4/libsamba-debug-samba4.so
        libgenrand-samba4.so =>  /opt/csw/lib/samba4/libgenrand-samba4.so
        libtalloc.so.2 =>        /opt/csw/lib/samba4/libtalloc.so.2
        libreplace-samba4.so =>  /opt/csw/lib/samba4/libreplace-samba4.so
        libsocket-blocking-samba4.so => 
/opt/csw/lib/samba4/libsocket-blocking-samba4.so
        libtevent.so.0 =>        /opt/csw/lib/samba4/libtevent.so.0
        libsmbregistry-samba4.so =>     
/opt/csw/lib/samba4/libsmbregistry-samba4.so
        libtalloc-report-samba4.so =>   
/opt/csw/lib/samba4/libtalloc-report-samba4.so
        libprinting-migrate-samba4.so =>        
/opt/csw/lib/samba4/libprinting-migrate-samba4.so
        libgssapi-samba4.so.2 =>        
/opt/csw/lib/samba4/libgssapi-samba4.so.2
        libtevent-util.so.0 =>   /opt/csw/lib/i386/libtevent-util.so.0
        libmessages-dgm-samba4.so =>    
/opt/csw/lib/samba4/libmessages-dgm-samba4.so
        libndr-samba-samba4.so =>       
/opt/csw/lib/samba4/libndr-samba-samba4.so
        libsamba-errors.so.1 =>  /opt/csw/lib/i386/libsamba-errors.so.1
        libnet-keytab-samba4.so =>      
/opt/csw/lib/samba4/libnet-keytab-samba4.so
        libsamba-security-samba4.so =>  
/opt/csw/lib/samba4/libsamba-security-samba4.so
        libnetapi.so.0 =>        /opt/csw/lib/i386/libnetapi.so.0
        libsys-rw-samba4.so =>   /opt/csw/lib/samba4/libsys-rw-samba4.so
        libsmbd-conn-samba4.so =>       
/opt/csw/lib/samba4/libsmbd-conn-samba4.so
        libsamba3-util-samba4.so =>     
/opt/csw/lib/samba4/libsamba3-util-samba4.so
        libsamba-passdb.so.0 =>  /opt/csw/lib/i386/libsamba-passdb.so.0
        libutil-tdb-samba4.so =>        
/opt/csw/lib/samba4/libutil-tdb-samba4.so
        libnpa-tstream-samba4.so =>     
/opt/csw/lib/samba4/libnpa-tstream-samba4.so
        libcliauth-samba4.so =>  /opt/csw/lib/samba4/libcliauth-samba4.so
        libinterfaces-samba4.so =>      
/opt/csw/lib/samba4/libinterfaces-samba4.so
        libauth-sam-reply-samba4.so =>  
/opt/csw/lib/samba4/libauth-sam-reply-samba4.so
        libpopt-samba3-samba4.so =>     
/opt/csw/lib/samba4/libpopt-samba3-samba4.so
        libtdb.so.1 =>   /opt/csw/lib/samba4/libtdb.so.1
        libmessages-util-samba4.so =>   
/opt/csw/lib/samba4/libmessages-util-samba4.so
        libauth-samba4.so =>     /opt/csw/lib/samba4/libauth-samba4.so
        liblibsmb-samba4.so =>   /opt/csw/lib/samba4/liblibsmb-samba4.so
        libmsrpc3-samba4.so =>   /opt/csw/lib/samba4/libmsrpc3-samba4.so
        libserver-id-db-samba4.so =>    
/opt/csw/lib/samba4/libserver-id-db-samba4.so
        libmsghdr-samba4.so =>   /opt/csw/lib/samba4/libmsghdr-samba4.so
        libdbwrap-samba4.so =>   /opt/csw/lib/samba4/libdbwrap-samba4.so
        libiov-buf-samba4.so =>  /opt/csw/lib/samba4/libiov-buf-samba4.so
        libsmbconf.so.0 =>       /opt/csw/lib/i386/libsmbconf.so.0
        libsamba-cluster-support-samba4.so =>   
/opt/csw/lib/samba4/libsamba-cluster-support-samba4.so
        libkrb5samba-samba4.so =>       
/opt/csw/lib/samba4/libkrb5samba-samba4.so
        libdcerpc-samba-samba4.so =>    
/opt/csw/lib/samba4/libdcerpc-samba-samba4.so
        libndr-krb5pac.so.0 =>   /opt/csw/lib/i386/libndr-krb5pac.so.0
        libsamba-sockets-samba4.so =>   
/opt/csw/lib/samba4/libsamba-sockets-samba4.so
        libndr.so.0 =>   /opt/csw/lib/i386/libndr.so.0
        libutil-reg-samba4.so =>        
/opt/csw/lib/samba4/libutil-reg-samba4.so
        libsmbd-shim-samba4.so =>       
/opt/csw/lib/samba4/libsmbd-shim-samba4.so
        libcli-spoolss-samba4.so =>     
/opt/csw/lib/samba4/libcli-spoolss-samba4.so
        libkrb5-samba4.so.26 =>  /opt/csw/lib/samba4/libkrb5-samba4.so.26
        libroken-samba4.so.19 =>        
/opt/csw/lib/samba4/libroken-samba4.so.19
        libasn1-samba4.so.8 =>   /opt/csw/lib/samba4/libasn1-samba4.so.8
        libhcrypto-samba4.so.5 =>       
/opt/csw/lib/samba4/libhcrypto-samba4.so.5
        libcom_err-samba4.so.0 =>       
/opt/csw/lib/samba4/libcom_err-samba4.so.0
        libwind-samba4.so.0 =>   /opt/csw/lib/samba4/libwind-samba4.so.0
        libndr-standard.so.0 =>  /opt/csw/lib/i386/libndr-standard.so.0
        libasn1util-samba4.so =>        
/opt/csw/lib/samba4/libasn1util-samba4.
so
        libndr-nbt.so.0 =>       /opt/csw/lib/i386/libndr-nbt.so.0
        libads-samba4.so =>      /opt/csw/lib/samba4/libads-samba4.so
        liblibcli-netlogon3-samba4.so =>        
/opt/csw/lib/samba4/liblibcli-netlogon3-samba4.so
        libutil-cmdline-samba4.so =>    
/opt/csw/lib/samba4/libutil-cmdline-samba4.so
        libwbclient.so.0 =>      /opt/csw/lib/i386/libwbclient.so.0
        libsamdb-common-samba4.so =>    
/opt/csw/lib/samba4/libsamdb-common-samba4.so
        libflag-mapping-samba4.so =>    
/opt/csw/lib/samba4/libflag-mapping-samba4.so
        libsamdb.so.0 =>         /opt/csw/lib/i386/libsamdb.so.0
        libsamba-credentials.so.0 =>    
/opt/csw/lib/i386/libsamba-credentials.so.0
        libsecrets3-samba4.so =>        
/opt/csw/lib/samba4/libsecrets3-samba4.so
        libldbsamba-samba4.so =>        
/opt/csw/lib/samba4/libldbsamba-samba4.so
        libsamba-hostconfig.so.0 =>     
/opt/csw/lib/i386/libsamba-hostconfig.so.0
        liblibcli-lsa3-samba4.so =>     
/opt/csw/lib/samba4/liblibcli-lsa3-samba4.so
        libtrusts-util-samba4.so =>     
/opt/csw/lib/samba4/libtrusts-util-samba4.so
        libaddns-samba4.so =>    /opt/csw/lib/samba4/libaddns-samba4.so
        libcli-ldap-common-samba4.so => 
/opt/csw/lib/samba4/libcli-ldap-common-samba4.so
        libcli-cldap-samba4.so =>       
/opt/csw/lib/samba4/libcli-cldap-samba4.so
        libcli-smb-common-samba4.so =>  
/opt/csw/lib/samba4/libcli-smb-common-samba4.so
        libgse-samba4.so =>      /opt/csw/lib/samba4/libgse-samba4.so
        libgensec-samba4.so =>   /opt/csw/lib/samba4/libgensec-samba4.so
        libdcerpc-binding.so.0 =>       
/opt/csw/lib/i386/libdcerpc-binding.so.0
        libndr-samba4.so =>      /opt/csw/lib/samba4/libndr-samba4.so
        libtdb-wrap-samba4.so =>        
/opt/csw/lib/samba4/libtdb-wrap-samba4.so
        libCHARSET3-samba4.so =>        
/opt/csw/lib/samba4/libCHARSET3-samba4.so
        libevents-samba4.so =>   /opt/csw/lib/samba4/libevents-samba4.so
        libheimbase-samba4.so.1 =>      
/opt/csw/lib/samba4/libheimbase-samba4.so.1
        libhx509-samba4.so.5 =>  /opt/csw/lib/samba4/libhx509-samba4.so.5
        libsmbldap.so.0 =>       /opt/csw/lib/i386/libsmbldap.so.0
        libwinbind-client-samba4.so =>  
/opt/csw/lib/samba4/libwinbind-client-samba4.so
        libldb.so.1 =>   /opt/csw/lib/samba4/libldb.so.1
        libauthkrb5-samba4.so =>        
/opt/csw/lib/samba4/libauthkrb5-samba4.so
        libserver-role-samba4.so =>     
/opt/csw/lib/samba4/libserver-role-samba4.so
        libcli-ldap-samba4.so =>        
/opt/csw/lib/samba4/libcli-ldap-samba4.so
        libsmb-transport-samba4.so =>   
/opt/csw/lib/samba4/libsmb-transport-samba4.so
        libsamba-modules-samba4.so =>   
/opt/csw/lib/samba4/libsamba-modules-samba4.so
        libcli-nbt-samba4.so =>  /opt/csw/lib/samba4/libcli-nbt-samba4.so
        libnetif-samba4.so =>    /opt/csw/lib/samba4/libnetif-samba4.so
        libcups.so.2 =>  /opt/csw/lib/i386/libcups.so.2
        libpopt.so.0 =>  /opt/csw/lib/i386/libpopt.so.0
        libsec.so.1 =>   /lib/libsec.so.1
        libcrypto.so.1.0.0 =>    /opt/csw/lib/i386/libcrypto.so.1.0.0
        libldap-2.4.so.2 =>      /opt/csw/lib/i386/libldap-2.4.so.2
        liblber-2.4.so.2 =>      /opt/csw/lib/i386/liblber-2.4.so.2
        libgnutls.so.28 =>       /opt/csw/lib/i386/libgnutls.so.28
        libresolv.so.2 =>        /lib/libresolv.so.2
        libz.so.1 =>     /opt/csw/lib/pentium_pro+mmx/libz.so.1
        libpam.so.1 =>   /lib/libpam.so.1
        libmd5.so.1 =>   /lib/libmd5.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libiconv.so.2 =>         /opt/csw/lib/i386/libiconv.so.2
        librt.so.1 =>    /lib/librt.so.1
        libfam.so.0 =>   /opt/csw/lib/i386/libfam.so.0
        libnsl.so.1 =>   /lib/libnsl.so.1
        libssp.so.0 =>   /opt/csw/lib/i386/libssp.so.0
        libc.so.1 =>     /lib/libc.so.1
        libgcc_s.so.1 =>         /opt/csw/lib/libgcc_s.so.1
        libgss.so.1 =>   /usr/lib/libgss.so.1
        libm.so.2 =>     /lib/libm.so.2
        libintl.so.8 =>  /opt/csw/lib/libintl.so.8
        libavl.so.1 =>   /lib/libavl.so.1
        libsasl2.so.2 =>         /opt/csw/lib/libsasl2.so.2
        libssl.so.1.0.0 =>       /opt/csw/lib/libssl.so.1.0.0
        libz.so.1 =>     /opt/csw/lib/libz.so.1
        libp11-kit.so.0 =>       /opt/csw/lib/libp11-kit.so.0
        libnettle.so.4 =>        /opt/csw/lib/libnettle.so.4
        libhogweed.so.2 =>       /opt/csw/lib/libhogweed.so.2
        libgmp.so.10 =>  /opt/csw/lib/libgmp.so.10
        libcmd.so.1 =>   /lib/libcmd.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        libmd.so.1 =>    /lib/libmd.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libscf.so.1 =>   /lib/libscf.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libm.so.1 =>     /lib/libm.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        symbol not found: rep_asprintf          (/opt/csw/sbin/smbd)
        symbol not found: rep_strnlen          
(/opt/csw/lib/i386/libsamba-util.so.0)
        symbol not found: rep_snprintf         
(/opt/csw/lib/i386/libsamba-util.so.0)
        symbol not found: rep_vasprintf        
(/opt/csw/lib/i386/libsamba-util.so.0)
        symbol not found: rep_timegm           
(/opt/csw/lib/i386/libsamba-util.so.0)
        symbol not found: rep_fprintf          
(/opt/csw/lib/i386/libsamba-util.so.0)
        symbol not found: uid_wrapper_enabled          
(/opt/csw/lib/i386/libsamba-util.so.0)
        symbol not found: rep_strndup          
(/opt/csw/lib/i386/libsamba-util
.so.0)
        symbol not found: rep_asprintf         
(/opt/csw/lib/i386/libsamba-util.so.0)
        symbol not found: rep_snprintf         
(/opt/csw/lib/samba4/libsamba-debug-samba4.so)
        symbol not found: rep_vasprintf        
(/opt/csw/lib/samba4/libsamba-debug-samba4.so)
        symbol not found: rep_strnlen          
(/opt/csw/lib/samba4/libsmbregistry-samba4.so)
        symbol not found: rep_vsnprintf        
(/opt/csw/lib/samba4/libsmbregistry-samba4.so)
        symbol not found: rep_vasprintf        
(/opt/csw/lib/samba4/libsmbregistry-samba4.so)
        symbol not found: rep_vsnprintf        
(/opt/csw/lib/samba4/libtalloc-report-samba4.so)
        symbol not found: rep_snprintf         
(/opt/csw/lib/samba4/libmessages-dgm-samba4.so)
        symbol not found: rep_snprintf         
(/opt/csw/lib/i386/libsamba-errors.so.1)
        symbol not found: rep_snprintf         
(/opt/csw/lib/samba4/libsamba-security-samba4.so)
        symbol not found: rep_fprintf          
(/opt/csw/lib/i386/libnetapi.so.0)
        symbol not found: uid_wrapper_enabled          
(/opt/csw/lib/samba4/libsamba3-util-samba4.so)
        symbol not found: rep_vsnprintf        
(/opt/csw/lib/samba4/libsamba3-util-samba4.so)
        symbol not found: rep_asprintf         
(/opt/csw/lib/samba4/libsamba3-util-samba4.so)
        symbol not found: rep_vasprintf        
(/opt/csw/lib/samba4/libsamba3-util-samba4.so)
        symbol not found: rep_snprintf         
(/opt/csw/lib/i386/libsamba-passdb.so.0)
        symbol not found: rep_strnlen          
(/opt/csw/lib/i386/libsamba-passdb.so.0)
        symbol not found: rep_asprintf         
(/opt/csw/lib/i386/libsamba-passdb.so.0)
        symbol not found: rep_strndup          
(/opt/csw/lib/i386/libsamba-passdb.so.0)
        symbol not found: rep_getifaddrs               
(/opt/csw/lib/samba4/libinterfaces-samba4.so)
        symbol not found: rep_freeifaddrs              
(/opt/csw/lib/samba4/libinterfaces-samba4.so)
        symbol not found: rep_asprintf         
(/opt/csw/lib/samba4/libpopt-samba3-samba4.so)
        symbol not found: rep_fprintf          
(/opt/csw/lib/samba4/libpopt-sam
ba3-samba4.so)
        symbol not found: rep_snprintf         
(/opt/csw/lib/samba4/libserver-id-db-samba4.so)
        symbol not found: rep_snprintf         
(/opt/csw/lib/samba4/libsamba-sockets-samba4.so)
        symbol not found: rep_asprintf         
(/opt/csw/lib/i386/libndr.so.0)
        symbol not found: rep_snprintf         
(/opt/csw/lib/i386/libndr.so.0)
        symbol not found: rep_vasprintf        
(/opt/csw/lib/i386/libndr.so.0)
        symbol not found: rep_snprintf         
(/opt/csw/lib/i386/libndr-nbt.so.0)
        symbol not found: rep_fprintf          
(/opt/csw/lib/i386/libsamba-credentials.so.0)
        symbol not found: rep_snprintf         
(/opt/csw/lib/samba4/libaddns-samba4.so)
        symbol not found: rep_snprintf         
(/opt/csw/lib/i386/libdcerpc-binding.so.0)
        symbol not found: rep_vasprintf        
(/opt/csw/lib/samba4/libtdb-wrap-samba4.so)
        symbol not found: rep_strnlen          
(/opt/csw/lib/samba4/libCHARSET3-samba4.so)

====================================================================== 

---------------------------------------------------------------------- 
 (0011233) dam (administrator) - 2017-02-01 09:55
 https://www.opencsw.org/mantis/view.php?id=5295#c11233 
---------------------------------------------------------------------- 
I also noticed this issue, that's why the packages are still in
experimental and have not been pushed to unstable/. We are probably
reverting the version some revisions which did work in the past.



More information about the bug-notifications mailing list