Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Aleph on AIX servers: command wget fails when called by UNIX user aleph

    • Article Type: General
    • Product: Aleph

    Problem Symptoms:
    The command wget fails with the following error message when called by the UNIX user aleph:

    $ wget
    exec(): 0509-036 Cannot load program wget because of the following errors:
    0509-150 Dependent module /usr/lib/libcrypto.a(libcrypto.so.0) could not be loaded.
    0509-152 Member libcrypto.so.0 is not found in archive

    Cause:
    (1)
    When the UNIX user aleph enters the command wget, the file /exlibris/aleph/a20_1/product/bin/wget is found.

    (2)
    The file /exlibris/aleph/a20_1/product/bin/wget is a symbolic link to the executable binary file /exlibris/product/bin/wget.

    (3)
    The file /exlibris/product/bin/wget is linked to the module libcrypto.so.0:

    ------------------------------------------------------------------
    $ dump -H /exlibris/product/bin/wget
    [...]
    INDEX PATH BASE MEMBER
    0 /opt/freeware/lib:/usr/lib:/lib
    1 libc.a shr.o
    2 libintl.a libintl.so.1
    3 libcrypto.a libcrypto.so.0
    4 libssl.a libssl.so.0
    ------------------------------------------------------------------


    (4)
    However, the module libcrypto.so.0 is not present in the archive file /usr/lib/libcrypto.a. Instead the archive file libcrypto.a includes a module named libcrypto.so.0.9.8:

    ------------------------------------------------------------------
    $ dump -Tv /usr/lib/libcrypto.a | head

    /usr/lib/libcrypto.a[libcrypto.so.0.9.8]:
    [...]
    ------------------------------------------------------------------

    Resolution:
    (1)
    Check if the executable file /exlibris/product/util/wget exists on the Aleph server. This file can load all dependent modules. Therefore one can execute it without any problems:

    $ /exlibris/product/util/wget --version
    GNU Wget 1.12 built on aix5.3.0.0.
    [...]

    (2)
    In order to allow the UNIX user aleph to execute the file /exlibris/product/util/wget by entering the command wget, change the target of the symbolic link /exlibris/product/util/wget

    from: /exlibris/product/bin/wget
    to: /exlibris/product/util/wget

    Category: Installation & Upgrades (500) - ALEPH

    Subject: Installation - ALEPH


    • Article last edited: 7/16/2014
    //Feedback