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.  Samba "smbclient" command erroring out

    Posted Wed June 27, 2018 05:01 PM

    Originally posted by: MarkSkinner


    I am in the process of migrating Samba code running on AIX 7.2 to the latest yum-installed version available on AIX Toolbox, which for the most part is working very well.  On a migrated server for example I am running the following Samba code:

     

    # yum list installed | grep samba
    samba.ppc                      4.6.15-1                      @AIX_Toolbox      
    samba-client.ppc               4.6.15-1                      @AIX_Toolbox      
    samba-common.ppc               4.6.15-1                      @AIX_Toolbox      
    samba-devel.ppc                4.6.15-1                      @AIX_Toolbox      
    samba-libs.ppc                 4.6.15-1                      @AIX_Toolbox      
    samba-winbind.ppc              4.6.15-1                      @AIX_Toolbox      
    samba-winbind-clients.ppc      4.6.15-1                      @AIX_Toolbox
         

     

    There appears to be a problem, however, with the "smbclient" command in the AIX Toolbox provided code.

    The command worked successfully on the previous code version I was running but when executed using the code installed from the AIX Toolbox I get the following error:

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

     

    Is there a problem with the latest Samba code from AIX Toolbox or am I missing something in my migration efforts?

     

    Thanks,

     --Mark


     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: Samba "smbclient" command erroring out

    Posted Thu June 28, 2018 02:17 AM

    Originally posted by: AyappanP


    Seems like the new Samba version requires readline-7.0-5 rpm . The explicit dependency got missed while packaging Samba. 

    Try updating readline to 7.0-5 . 


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 3.  Re: Samba "smbclient" command erroring out

    Posted Thu June 28, 2018 09:18 AM

    Originally posted by: MarkSkinner



    Thank you for the response, but I already have readline up to that code level:

    # yum list installed | grep readline
    readline.ppc                   7.0-5                         @AIX_Toolbox     

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

     

    This problem is occurring on all three Samba servers that I have installed Samba from AIX Toolbox.  Any other suggestions greatly appreciated.

    Thank you,

     --Mark


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 4.  Re: Samba "smbclient" command erroring out

    Posted Thu June 28, 2018 09:33 AM

    Originally posted by: AyappanP


    Can you please do a reinstall of readline ?. The libreadline.a archive might have corrupted.

    yum reinstall readline


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 5.  Re: Samba "smbclient" command erroring out

    Posted Thu June 28, 2018 10:28 AM

    Originally posted by: MarkSkinner


    Success!

    Thank you, doing a re-install of readline fixed the problem on all the Samba servers.

    Thank you very much!

     --Mark


    #AIXOpenSource
    #AIX-Open-Source-Software