Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  AIX Samba 4.6 / smbclient issues - member libssl.so is not found?

    Posted Tue October 31, 2017 12:29 PM

    Originally posted by: exxoid2


    We are trying to install Samba 4.6.4 on our AIX 7.1 box. Previously we had Samba 3.6 from perzl.org repository, but are trying to use IBM release as it is newer version.

    Trying to get this installed without using YUM to reduce the amount of packages we have on the system, etc... so I threw all the relevant Samba packages in a directory and ran "rpm -ivh *".

    Next we tried to install using rpm -ivh * and all seemed to work OK. However when i try to run smbclient utility, it dies with...

    # smbclient
    exec(): 0509-036 Cannot load program smbclient because of the following errors:
            0509-022 Cannot load module /opt/freeware/lib/libldap.a(libldap-2.4.so.2).
            0509-150   Dependent module /opt/freeware/lib/libssl.a(libssl.so) could not be loaded.
            0509-152   Member libssl.so is not found in archive
            0509-022 Cannot load module smbclient.
            0509-150   Dependent module /opt/freeware/lib/libldap.a(libldap-2.4.so.2) could not be loaded.
            0509-022 Cannot load module .


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: smbclient issues - member libssl.so is not found in archive?

    Posted Tue October 31, 2017 12:29 PM

    Originally posted by: exxoid2


    # lslpp -l | grep ssl
      openssl.base            1.0.2.1100
      openssl.license         1.0.2.1100
      openssl.man.en_US       1.0.2.1100
      openssl.base            1.0.2.1100

    # rpm -qa | grep ssl
    openssl-1.0.2k-1.ppc

    # ar -tv /usr/lib/libssl.a
    libssl.so
    libssl.so.0.9.8
    libssl.so.1.0.0

    # ar -tv /opt/freeware/lib/libssl.a
    libssl.so.1.0.2
    libssl.so.0.9.7
    libssl.so.0.9.8
    libssl.so.1.0.0
    libssl.so.1.0.1


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 3.  Re: smbclient issues - member libssl.so is not found in archive?

    Posted Thu November 02, 2017 02:27 AM

    Originally posted by: sangameshm


    AIX Toolbox packages built with default AIX openssl library not with the dependency on rpm package.

    As ldap and other toolbox packages first look at the /opt/freeware/lib path for the dependent libraries hence the error.

    You need to remove the openssl rpm package to make toolbox samba works.

     

    remove openssl rpm package and then run "updtvpkg" command.

     

    Thanks,

    Sangamesh


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 4.  Re: AIX Samba 4.6 / smbclient issues - member libssl.so is not found?

    Posted Fri July 27, 2018 01:54 PM

    Originally posted by: kmusil


    I also upgraded samba to the latest version on my 7.1 server, but I do not have the openssl rpm package installed, only the AIX Toolbox one. I also ran the "updtvpkg" command with no luck.

    /opt/freeware/sbin/smbd --version
    Could not load program /opt/freeware/sbin/smbd:
    Could not load module /opt/freeware/lib/libldap.a(libldap-2.4.so.2).
            Dependent module /opt/freeware/lib/libssl.a(libssl.so) could not be loaded.
            Member libssl.so is not found in archive
    Could not load module smbd.

    Please advise


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 5.  Re: AIX Samba 4.6 / smbclient issues - member libssl.so is not found?

    Posted Sat July 28, 2018 01:49 AM

    Originally posted by: sangameshm


    Let us know the version of openldap and samba is installed ?

    I still think that the file /opt/freeware/lib/libssl.a is present in your system.

    You could check who is providing that file with "rpm -qf /opt/freeware/lib/libssl.a" command.

     

    Thanks,

    Sangamesh


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 6.  Re: AIX Samba 4.6 / smbclient issues - member libssl.so is not found?

    Posted Mon July 30, 2018 11:11 AM

    Originally posted by: kmusil


    # rpm -qf /opt/freeware/lib/libssl.a
    file /opt/freeware/lib/libssl.a is not owned by any package


    # cd /opt/freeware/lib
    # ls -lt *ssl*
    -rwxr-xr-x    1 root     system      2019163 Aug 15 2017  libgnutls-openssl.a
    -rwxr-xr-x    1 root     system      3643037 Jul  8 2017  libssl3.a
    -rwxr-xr-x    1 root     system      1691166 Jul  8 2017  libssl3.so
    -rwxr-xr-x    1 root     system      1208741 Aug  3 2004  libssl.a

    # rpm -qa | grep openldap

    openldap-2.4.45-1.ppc

    # rpm -qa | grep samba
    samba-winbind-clients-4.6.15-1.ppc
    samba-devel-4.6.15-1.ppc
    samba-common-4.6.15-1.ppc
    samba-4.6.15-1.ppc
    samba-winbind-4.6.15-1.ppc
    samba-libs-4.6.15-1.ppc
     

     


     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 7.  Re: AIX Samba 4.6 / smbclient issues - member libssl.so is not found?

    Posted Mon July 30, 2018 12:11 PM

    Originally posted by: AyappanP


    Please remove the libssl.a file from /opt/freeware/lib. It should be coming from other source. 


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 8.  Re: AIX Samba 4.6 / smbclient issues - member libssl.so is not found?

    Posted Mon July 30, 2018 02:47 PM

    Originally posted by: kmusil


    I now have a slightly different error:

     

     # /opt/freeware/sbin/smbd --version
    Could not load program /opt/freeware/sbin/smbd:
    Could not load module /opt/freeware/lib/libldap.a(libldap-2.4.so.2).
            Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0) could not be loaded.
            Member libcrypto.so.1.0.0 is not found in archive
    Could not load module smbd.
            Dependent module /opt/freeware/lib/libldap.a(libldap-2.4.so.2) could not be loaded.
    Could not load module .

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 9.  Re: AIX Samba 4.6 / smbclient issues - member libssl.so is not found?

    Posted Mon July 30, 2018 02:50 PM

    Originally posted by: kmusil


    Never mind...I got it.  From /opt/freeware/lib, I found libcrypto there is sthe same old date as the libssl.a file was.  I moved it to /tmp and I'm in business.

     # mv libcrypto.a /tmp


    #AIX-Open-Source-Software
    #AIXOpenSource