AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  Samba won`t start - runtime definition for Symbol is missing

    Posted Fri November 25, 2022 05:15 AM

    Hello,

    I installed Samba via dnf and AIX Toolbox and included all needed dependencies as well.
    When I now try to validate the instlaltion, I always get the following error:

    # /opt/freeware/sbin/nmbd --version
    exec(): 0509-036 Cannot load program /opt/freeware/sbin/nmbd because of the following errors:
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libp11_kit_so was referenced
    from module /opt/freeware/lib/libgnutls.a(libgnutls.so.30), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libp11_kit_so was referenced
    from module /opt/freeware/lib/libgnutls.a(libgnutls.so.30), but a runtime definition
    of the symbol was not found.

    The gnutls is definitely installed via Toolbox and that was the only reason I found for now, why the software won`t start.. Maybe one of you over here has a good idea, what might be missing or might be the issue in this case.


    # oslevel -s
    7200-05-03-2148

    # rpm -qi samba
    Name : samba
    Version : 4.16.5
    Release : 1
    Architecture: ppc
    Install Date: Thu Nov 24 11:00:14 MEZ 2022
    Group : Unspecified
    Size : 8099155
    License : GPLv3+ and LGPLv3+
    Signature : (none)
    Source RPM : samba-4.16.5-1.src.rpm
    Build Date : Wed Sep 28 16:53:31 MESZ 2022
    Build Host : aixoss3.in.ibm.com
    Packager : IBM AIX Toolbox <https://ibm.biz/AIXToolbox>
    URL : http://www.samba.org/
    Bug URL : https://ibm.biz/aixoss_forum
    Summary : Server and Client software to interoperate with Windows machines
    Description :
    Samba is the suite of programs by which a lot of PC-related machines
    share files, printers, and other information (such as lists of
    available files and printers). The Windows NT, OS/2, and Linux
    operating systems support this natively, and add-on packages can
    enable the same thing for DOS, Windows, VMS, UNIX of all kinds, MVS,
    and more. This package provides an SMB/CIFS server that can be used to
    B
    provide network services to SMB/CIFS clients.
    Samba uses NetBIOS over TCP/IP (NetBT) protocols and does NOT
    need the NetBEUI (Microsoft Raw NetBIOS frame) protocol.

    # rpm -qi gnutls
    Name : gnutls
    Version : 3.7.2
    Release : 1
    Architecture: ppc
    Install Date: Thu Nov 24 10:59:53 MEZ 2022
    Group : System Environment/Libraries
    Size : 25998546
    License : GPLv3+ and LGPLv2+
    Signature : (none)
    Source RPM : gnutls-3.7.2-1.src.rpm
    Build Date : Tue Aug 9 16:43:58 MESZ 2022
    Build Host : pokndd4.pok.stglabs.ibm.com
    Packager : IBM AIX Toolbox <https://ibm.biz/AIXToolbox>
    URL : http://www.gnutls.org/
    Bug URL : https://ibm.biz/aixoss_forum
    Summary : A TLS protocol implementation
    Description :
    GnuTLS is a project that aims to develop a library which provides a secure
    layer, over a reliable transport layer. Currently the GnuTLS library implements
    the proposed standards by the IETF's TLS working group.

    The library is available as 32-bit and 64-bit.








    ------------------------------
    Lukas Volkening
    ------------------------------


  • 2.  RE: Samba won`t start - runtime definition for Symbol is missing

    Posted Fri November 25, 2022 05:27 AM
    It's complaining about p11-kit symbol. 
    Do you have p11-kit rpm installed ? "rpm -qa | grep p11-kit"
    If so , share the output of  "rpm -qi p11-kit"

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: Samba won`t start - runtime definition for Symbol is missing

    Posted Fri November 25, 2022 05:57 AM
    Yes, p11-kit is installed as well via dnf and Toolbox.

    # rpm -qa | grep -i p11
    p11-kit-0.23.16-0.ppc
    p11-kit-devel-0.23.16-2.ppc
    p11-kit-tools-0.23.16-0.ppc


    # rpm -qi p11-kit
    Name : p11-kit
    Version : 0.23.16
    Release : 0
    Architecture: ppc
    Install Date: Thu Nov 24 10:42:46 MEZ 2022
    Group : Development/Libraries/C and C++
    Size : 5585987
    License : BSD3c
    Signature : (none)
    Source RPM : p11-kit-0.23.16-0.src.rpm
    Build Date : Wed Apr 7 18:24:18 MESZ 2021
    Build Host : fvt-p7a2-lp5.pok.stglabs.ibm.com
    Packager : IBM AIX Toolbox <https://ibm.biz/AIXToolbox>
    URL : http://p11-glue.freedesktop.org/p11-kit.html
    Bug URL : https://ibm.biz/aixoss_forum
    Summary : Library to work with PKCS#11 modules
    Description :
    p11-kit provides a way to load and enumerate PKCS#11 modules, as well
    as a standard configuration setup for installing PKCS#11 modules in
    such a way that they're discoverable.

    The library is available as 32-bit and 64-bit.

    ------------------------------
    Lukas Volkening
    ------------------------------



  • 4.  RE: Samba won`t start - runtime definition for Symbol is missing

    Posted Fri November 25, 2022 06:23 AM
    Edited by Ayappan P Fri November 25, 2022 06:23 AM
    You still have the p11-kit rpm from the dnf bundle. We always recommend the users to update the rpms immediately after installing dnf. 
    So please update the p11-kit rpm ( better update all rpms ) and try again.

    ------------------------------
    Ayappan P
    ------------------------------



  • 5.  RE: Samba won`t start - runtime definition for Symbol is missing

    Posted Fri November 25, 2022 06:39 AM
    Thank you very much for pointing this out.
    Apparently I haven`t checked the versions of p11 kit installed with dnf, ... and haven`t noticed that there is a more current version of the filesets.

    Happily directly after updating the p11-kit everything works and the error message is not coming up again.

    Thank you very much again for your help and have a nice weekend ahead.


    ------------------------------
    Lukas Volkening
    ------------------------------