AIX Open Source

 View Only
  • 1.  LFTP 4.9.1-1 installation on AIX 7.2

    Posted Sun May 01, 2022 01:51 AM
    Hi everyone!

    We want to install LFTP 4.9.1-1on a AIX 7.2 server, we managed to install it but when we execute it we get this error message:

    $ /opt/freeware/bin/lftp
    exec(): 0509-036 Cannot load program /opt/freeware/bin/lftp because of the following errors:
    0509-150 Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
    0509-152 Member libiconv.so.2 is not found in archive

    We already did some research on the topic and we modified the LIBPATH environment variable in order to include the required LIBPATHs /opt/freeware/lib:/usr/lib:/lib but it didn't work and it show this error messages:

    $ LIBPATH=/opt/freeware/lib64:/opt/freeware/lib:/usr/lib:/lib
    $ export LIBPATH

    $ /opt/freeware/bin/lftp
    exec(): 0509-036 Cannot load program lftp because of the following errors:
    0509-130 Symbol resolution failed for /opt/freeware/lib/libgnutls.a[libgnutls.so.30] because:
    0509-136 Symbol _GLOBAL__AIXI_libp11_kit_so (number 408) is not exported from
    dependent module /opt/freeware/lib/libp11-kit.a[libp11-kit.so.0].
    0509-136 Symbol _GLOBAL__AIXD_libp11_kit_so (number 409) is not exported from
    dependent module /opt/freeware/lib/libp11-kit.a[libp11-kit.so.0].
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.

    Right now we are at TL5SP3 

    $ oslevel -s
    7200-05-03-2148

    And we also validated that the dependencies of LFTP package are at the latest version published by IBM at AIX ToolBox.

    package libgcc8-8.3.0-6.ppc is already installed
    package libgcc-1:8-1.ppc is already installed
    package libstdc++8-8.3.0-6.ppc is already installed
    package libstdc++-1:8-1.ppc is already installed
    package ncurses-6.2-3.ppc is already installed
    package zlib-1.2.12-1.ppc is already installed
    package gmp-6.2.1-1.ppc is already installed
    package libgomp8-8.3.0-6.ppc is already installed
    package libgomp-1:8-1.ppc is already installed
    package db-1:5.3.28-1.ppc is already installed
    package libffi-3.2.1-3.ppc is already installed
    package libtasn1-4.16.0-1.ppc is already installed
    package xz-libs-5.2.5-1.ppc is already installed
    package glib2-2.56.1-3.ppc is already installed
    package libxml2-2.9.11-1.ppc is already installed
    package libunistring-0.9.10-1.ppc is already installed
    package libiconv-1.16-1.ppc is already installed
    package bash-5.1.4-2.ppc is already installed
    package info-6.7-1.ppc is already installed
    package nettle-3.7.3-1.ppc is already installed
    package gnutls-3.7.1-1.ppc is already installed
    package readline-8.1-1.ppc is already installed
    package gdbm-1.19-1.ppc is already installed
    package perl-1:5.30.3-2.ppc is already installed
    package lftp-4.9.1-1.ppc is already installed

    What we are missing?, do you have any recommendation in order to fix this issue?.

    Thanks for you help.

    Regards,
    Francisco Mancera.


    ------------------------------
    Francisco Mancera
    ------------------------------


  • 2.  RE: LFTP 4.9.1-1 installation on AIX 7.2

    Posted Mon May 02, 2022 10:15 AM
    Hi Francisco, 
    I don't think you need to set LIBPATH but make sure nothing is set in LIBPATH.
    Just check if LIBPATH is set or not try to unset LIBPATH and run.
    One thing I am noticing you do not have p11-kit rpm. Is the rpm -qa output is complete ?
    Please make sure if you have all the dependencies of packages installed correctly. 
    Can you please verify what package is delivering /opt/freeware/lib/libp11-kit.a?

    ------------------------------
    SANKET RATHI
    ------------------------------