AIX Open Source

 View Only
  • 1.  curl not woking

    Posted Sun September 24, 2023 01:24 PM

    We are getting bekow error.

    :/usr/lib # curl -v

    exec(): 0509-036 Cannot load program curl because of the following errors:

    0509-130 Symbol resolution failed for /usr/local/lib/libcurl.a(libcurl.so.4) because:

    0509-136 Symbol strcmp (number 101) is not exported from

    dependent module /usr/linux/lib/libcrypto.a(libcrypto.so.1.0.1).

    0509-136 Symbol memmove (number 130) is not exported from



    ------------------------------
    Milind Sarkate
    ------------------------------


  • 2.  RE: curl not woking

    Posted Mon September 25, 2023 01:50 AM

    Since it is finding /usr/local/lib/libcurl.a it looks like you have the LIBPATH environment variable defined? Try unset LIBPATH and run the curl again.



    ------------------------------
    Oliver Stadler
    ------------------------------



  • 3.  RE: curl not woking

    Posted Tue September 26, 2023 04:25 AM

    Hello Oliver,

    We tried to unset LIBPATH but still getting below  error when trying to set LIBPATH path getting below error. 

     

    root@server:/ # unset LIBPATH
    root@server:/ # curl -V
    exec(): 0509-036 Cannot load program curl because of the following errors:
            0509-130 Symbol resolution failed for /usr/local/lib/libcurl.a(libcurl.so.4) because:
            0509-136   Symbol strcmp (number 101) is not exported from
                       dependent module /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5/../../../libcrypto.a(libcrypto.so.1.0.1).
            0509-136   Symbol memmove (number 130) is not exported from
                       dependent module /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5/../../../libcrypto.a(libcrypto.so.1.0.1).
            0509-136   Symbol strncpy (number 134) is not exported from
                       dependent module /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5/../../../libcrypto.a(libcrypto.so.1.0.1).
            0509-136   Symbol strcpy (number 154) is not exported from
                       dependent module /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5/../../../libcrypto.a(libcrypto.so.1.0.1).
            0509-136   Symbol sigsetjmp (number 202) is not exported from
                       dependent module /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5/../../../libcrypto.a(libcrypto.so.1.0.1).
            0509-136   Symbol siglongjmp (number 203) is not exported from
                       dependent module /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5/../../../libcrypto.a(libcrypto.so.1.0.1).
            0509-136   Symbol bcopy (number 233) is not exported from
                       dependent module /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5/../../../libcrypto.a(libcrypto.so.1.0.1).
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.
    root@server:/ #
    root@server:/ # env
    AUTHSTATE=files
    MANPATH=${MANPATH}:
    TERM=xterm
    SHELL=/usr/bin/ksh
    HISTSIZE=2000
    OLDPWD=/usr/local/bin
    CLUSTER_OVERRIDE=yes
    LOCPATH=/usr/lib/nls/loc
    USER=root
    ODMDIR=/etc/objrepos
    TTU_PATH=/opt/teradata/client/16.20
    TMOUT=900
    A__z=! LOGNAME="*TMOUT
    MAIL=/usr/spool/mail/root
    PATH=/opt/teradata/client/16.20/bin:/usr/es/sbin/cluster/utilities:/usr/es/sbin/cluster:$PATH:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/local/bin:/usr/local/sbin:/usr/DynamicLinkManager/bini:/opt/freeware/bin:/usr/bin/:/usr/bin/curl
    LOGIN=root
    PWD=/
    TIMEOUT=900
    EDITOR=vi
    LANG=en_US
    TZ=Europe/Helsinki
    PS1=root@server:$PWD #
    SHLVL=3
    HOME=/home/root
    LC__FASTMSG=true
    MAILMSG=[YOU HAVE NEW MAIL]
    LOGNAME=root
    HORCC_LOGSZ=20480
    CLCMD_PASSTHRU=1
    HORCMINST=0
    EXTENDED_HISTORY=ON
    _=/usr/bin/env
    NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/%l.%c/%N:/usr/lib/nls/msg/%l.%c/%N.cat
    root@server:/ #

    set LIBPATH path

    root@opdatastagesr1:/ # curl
    exec(): 0509-036 Cannot load program curl because of the following errors:
            0509-150   Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.1) could not be loaded.
            0509-152   Member libcrypto.so.1.0.1 is not found in archive
    root@opdatastagesr1:/ #



    ------------------------------
    Milind Sarkate
    ------------------------------



  • 4.  RE: curl not woking

    Posted Tue September 26, 2023 09:03 AM

    You have a very old curl version from a different source , not from Toolbox I guess. 
    Also you have openssl rpm from that source. You need to clean up all these and go with Toolbox environment. 



    ------------------------------
    Ayappan P
    ------------------------------