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


#Servers
#Opensource
 View Only
  • 1.  ncat Dependent module liblua-5.3.so could not be loaded

    Posted 11/08/19 09:43 AM

    Originally posted by: Montani.SL


    HI All,

    Install ncat on several LPARs but strangely enough on only two of them are getting this error:

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

    ->find /opt -name "liblua*"                     
    /opt/freeware/lib/liblua-5.1.so
    /opt/freeware/lib/liblua-5.3.so
    /opt/freeware/lib/liblua.a
    /opt/freeware/lib64/liblua-5.1.so
    /opt/freeware/lib64/liblua-5.3.so

    ->ls -al /opt/freeware/lib/liblua-5.3.so
    -rwxr-xr-x    1 root     system       533344 Feb 28 2019  /opt/freeware/lib/liblua-5.3.so

    Reinstalled ncat but no change.

    Suggestions?

    Thanks.

     

     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: ncat Dependent module liblua-5.3.so could not be loaded

    Posted 11/08/19 10:15 AM

    Originally posted by: AyappanP


    Paste the below outputs.

    1) rpm -qi lua

    2) ar -X32_64 -tv /opt/freeware/lib/liblua.a

     

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 3.  Re: ncat Dependent module liblua-5.3.so could not be loaded

    Posted 11/08/19 10:18 AM

    Originally posted by: Montani.SL


    -> rpm -qi lua
    Name        : lua
    Version     : 5.3.4
    Release     : 2
    Architecture: ppc
    Install Date: Thu Mar  7 16:36:42 EST 2019
    Group       : Development/Languages
    Size        : 4459839
    License     : MIT
    Signature   : (none)
    Source RPM  : lua-5.3.4-2.src.rpm
    Build Date  : Thu Feb 28 00:33:36 EST 2019
    Build Host  : pokndd10.pok.stglabs.ibm.com
    Relocations : (not relocatable)
    URL         : http://www.lua.org/
    Summary     : Powerful light-weight programming language
    Description :
    Lua is a powerful light-weight programming language designed for
    extending applications. Lua is also frequently used as a
    general-purpose, stand-alone language. Lua is free software.
    Lua combines simple procedural syntax with powerful data description
    constructs based on associative arrays and extensible semantics. Lua
    is dynamically typed, interpreted from bytecodes, and has automatic
    memory management with garbage collection, making it ideal for
    configuration, scripting, and rapid prototyping.

     

    ->ar -X32_64 -tv /opt/freeware/lib/liblua.a
    rwxr-xr-x     0/0     420352 Jan 29 04:02 2015 liblua-5.1.so
    rwxr-xr-x     0/0     461205 Jan 29 04:02 2015 liblua-5.1.so

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 4.  Re: ncat Dependent module liblua-5.3.so could not be loaded

    Posted 11/08/19 10:26 AM

    Originally posted by: AyappanP


    Looks like the library got corrupted. Reinstall this version of lua once again. 

     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 5.  Re: ncat Dependent module liblua-5.3.so could not be loaded

    Posted 11/08/19 10:51 AM

    Originally posted by: Montani.SL


    ->yum reinstall lua

    You Da' MAN! reinstalled did the job. Many thanks.

     

     


    #AIX-Open-Source-Software
    #AIXOpenSource