Power Global

 View Only
Expand all | Collapse all

cannot load program xmlsec1

  • 1.  cannot load program xmlsec1

    Posted Thu February 03, 2022 09:09 AM
    Hi all I am getting the below error when trying to run xmlsec1

    bash-4.3# xmlsec1
    exec(): 0509-036 Cannot load program xmlsec1 because of the following errors:
    0509-130 Symbol resolution failed for /opt/freeware/lib/libxmlsec1-openssl.a(libxmlsec1-openssl.so.1) because:
    0509-136 Symbol memmove (number 260) is not exported from
    dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
    0509-136 Symbol bcopy (number 414) is not exported from
    dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
    0509-026 System error: Error 0
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.

    ------------------------------
    JAN JERIC NAORBE
    ------------------------------


  • 2.  RE: cannot load program xmlsec1

    Posted Thu February 03, 2022 12:43 PM
    Hi Jan,

    I had an similar issue a few weeks ago and the run of "/usr/sbin/updtvpkg" fixed it.

    Some documentation: Understanding the AIX Virtual RPM Package for rpm.rte (ibm.com)

    Should it not help, which package installs the tool xmlsec1?

    Best regards

    ------------------------------
    Niklas
    System Engineer UNIX and Linux on Power
    ------------------------------



  • 3.  RE: cannot load program xmlsec1

    Posted Thu March 10, 2022 11:06 AM
    Hi Nik,

    Thank you for your answer. I have tried the updtvpkg command but still I am still getting the above load error. I have a very similar setup on our dev environment and it is working fine. Do you have any suggestion?

    ------------------------------
    JAN JERIC NAORBE
    ------------------------------



  • 4.  RE: cannot load program xmlsec1

    Posted Thu March 10, 2022 11:06 AM
    hi Nik,

    Thank you for your assistance, I have tried the command and still I am getting the load error. Below are the packages for xmlsec1
    xmlsec1-devel-1.2.20-1.ppc
    xmlsec1-1.2.20-1.ppc
    xmlsec1-openssl-1.2.20-1.ppc
    xmlsec1-openssl-devel-1.2.20-1.ppc

    ------------------------------
    JAN JERIC NAORBE
    ------------------------------



  • 5.  RE: cannot load program xmlsec1

    Posted Fri March 11, 2022 09:55 AM
    Hi Jan,

    the packages are not listed in the AIX Toolbox: AIX Toolbox for Open Source Software : Downloads alpha (ibm.com)

    Do you use "rpm" or "yum" to install the package? Maybe some requirements are missing. I would prefer yum and the AIX Toolbox as main source for your systems, because yum will take care of requirements and dependencies of rpm-packages.

    Best regards

    ------------------------------
    Niklas
    System Engineer UNIX and Linux on Power
    ------------------------------



  • 6.  RE: cannot load program xmlsec1

    Posted Fri March 11, 2022 10:05 AM
    Hi Nik,

    I dont know when my replies would be posted but when this pushes through, I just want to ask how can I determine which package installed the xmlsec1? I read in the link that you have sent that it can be done via rpm or installp. I was still not on my current company when they have installed the package.

    ------------------------------
    JAN JERIC NAORBE
    ------------------------------



  • 7.  RE: cannot load program xmlsec1

    Posted Mon March 14, 2022 12:44 PM
    Hi Jan,

    use "rpm -qi <packagename>" if the package is installed or "rpm -qip <path_to_package>" if the rpm-package is placed in the filesystem to identify the build date, build host and packager.

    Example for logrotate from the AIX Toolbox:

    Name : logrotate
    Version : 3.18.0
    Release : 2
    Architecture: ppc
    Install Date: (not installed)
    Group : System Environment/Base
    Size : 232571
    License : GPL+
    Signature : (none)
    Source RPM : logrotate-3.18.0-2.src.rpm
    Build Date : Tue Feb 8 09:56:25 MEZ 2022
    Build Host : pokndd5.pok.stglabs.ibm.com
    Packager : IBM AIX Toolbox <https://ibm.biz/AIXToolbox>

    Best regards

    ------------------------------
    Niklas
    System Engineer UNIX and Linux on Power
    ------------------------------



  • 8.  RE: cannot load program xmlsec1

    Posted Mon March 21, 2022 03:43 PM
    hi nik,

    Still jeric here with a different email add.

    SASAMLA-PROD-APP root@BDOUAXP657:/>rpm -qi xmlsec1-1.2.20-1.ppc
    Name : xmlsec1
    Version : 1.2.20
    Release : 1
    Architecture: ppc
    Install Date: Fri Mar 24 17:07:52 PST 2017
    Group : Development/Libraries
    Size : 1610691
    License : MIT
    Signature : (none)
    Source RPM : xmlsec1-1.2.20-1.src.rpm
    Build Date : Sat Aug 16 06:34:37 PST 2014
    Build Host : aix51.perzl.org
    Relocations : (not relocatable)
    URL : http://www.aleksey.com/xmlsec/
    Summary : Library providing support for "XML Signature" and "XML Encryption" standards
    Description :
    XML Security Library is a C library based on LibXML2 and OpenSSL.
    The library was created with a goal to support major XML security
    standards "XML Digital Signature" and "XML Encryption".

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

    I think it was installed using rpm. Also, I have tried uninstalling the xmlsec packages then reinstalling it again. Install was successful but still the same error when trying to load xmlsec1

    bash-4.3# rpm -qa | grep xmlsec
    xmlsec1-devel-1.2.20-1.ppc
    xmlsec1-1.2.20-1.ppc
    xmlsec1-openssl-1.2.20-1.ppc
    xmlsec1-openssl-devel-1.2.20-1.ppc
    bash-4.3# rpm -e xmlsec1-devel-1.2.20-1.ppc
    error: Failed dependencies:
    xmlsec1-devel = 1.2.20 is needed by (installed) xmlsec1-openssl-devel-1.2.20-1.ppc
    bash-4.3# rpm -e xmlsec1-openssl-devel-1.2.20-1.ppc
    bash-4.3# rpm -e xmlsec1-devel-1.2.20-1.ppc
    bash-4.3# rpm -e xmlsec1-1.2.20-1.ppc
    error: Failed dependencies:
    libxmlsec1.a(libxmlsec1.so.1) is needed by (installed) xmlsec1-openssl-1.2.20-1.ppc
    xmlsec1 = 1.2.20 is needed by (installed) xmlsec1-openssl-1.2.20-1.ppc
    bash-4.3# rpm -e xmlsec1-openssl-1.2.20-1.ppc
    error: Failed dependencies:
    libxmlsec1-openssl.a(libxmlsec1-openssl.so.1) is needed by (installed) xmlsec1-1.2.20-1.ppc
    bash-4.3# rpm -e xmlsec1-1.2.20-1.ppc xmlsec1-openssl-1.2.20-1.ppc
    bash-4.3# hostname
    bdouaxp654
    bash-4.3# rpm -ivh xmlsec1-1.2.20-1.aix5.1.ppc.rpm xmlsec1-openssl-1.2.20-1.aix5.1.ppc.rpm xmlsec1-openssl-devel-1.2.20-1.aix5.1.ppc.rpm xmlsec1-devel-1.2.20-1.aix5.1.ppc.rpm
    Preparing... ################################# [100%]
    Updating / installing...
    1:xmlsec1-openssl-1.2.20-1 ################################# [ 25%]
    2:xmlsec1-1.2.20-1 ################################# [ 50%]
    3:xmlsec1-devel-1.2.20-1 ################################# [ 75%]
    4:xmlsec1-openssl-devel-1.2.20-1 ################################# [100%]
    bash-4.3# xmlsec1
    exec(): 0509-036 Cannot load program xmlsec1 because of the following errors:
    0509-130 Symbol resolution failed for /opt/freeware/lib/libxmlsec1-openssl.a(libxmlsec1-openssl.so.1) because:
    0509-136 Symbol memmove (number 260) is not exported from
    dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
    0509-136 Symbol bcopy (number 414) is not exported from
    dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
    0509-026 System error: Error 0
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.
    bash-4.3# updtvpkg
    Please wait...
    bash-4.3# xmlsec1
    exec(): 0509-036 Cannot load program xmlsec1 because of the following errors:
    0509-130 Symbol resolution failed for /opt/freeware/lib/libxmlsec1-openssl.a(libxmlsec1-openssl.so.1) because:
    0509-136 Symbol memmove (number 260) is not exported from
    dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
    0509-136 Symbol bcopy (number 414) is not exported from
    dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
    0509-026 System error: Error 0
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.

    thank you for your assistance,

    ------------------------------
    jan jeric naorbe
    ------------------------------



  • 9.  RE: cannot load program xmlsec1

    Posted Thu March 24, 2022 10:09 AM
    Hi Jan,

    the package seems to be outdated and is from Perzl. Maybe we can ask the AIX Toolbox Team for a new package which is compatible with current AIX versions and the other AIX Toolbox RPMs.

    Best regards

    ------------------------------
    Niklas
    System Engineer UNIX and Linux on Power
    ------------------------------



  • 10.  RE: cannot load program xmlsec1

    Posted Tue March 29, 2022 08:54 AM
    Hi Niklas,

    Sorry for the question, but I have the same version of xmlsec on our dev box with the same os level and its working fine. Also, how can we ask the AIX Toolbox team for an updated version?

    Thank you very much,

    ------------------------------
    jan jeric naorbe
    ------------------------------