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

 View Only

vim-X11-9.0.1237-1.ppc : Symbol resolution failed

  • 1.  vim-X11-9.0.1237-1.ppc : Symbol resolution failed

    Posted Mon August 21, 2023 08:00 AM

    vim-X11-9.0.1237-1.ppc show the following error at install:

    Running scriptlet: vim-X11-9.0.1237-1.ppc                                                                                                                                                                                          109/215
    Could not load program gtk-update-icon-cache:
    Symbol resolution failed for /opt/freeware/lib/libglib-2.0.a(libglib-2.0.so.0) because:
            Symbol _GLOBAL__AIXI_libintl_so (number 202) is not exported from dependent
              module /usr/opt/rpm/lib/libintl.a(libintl.so.8).
            Symbol _GLOBAL__AIXD_libintl_so (number 203) is not exported from dependent
              module /usr/opt/rpm/lib/libintl.a(libintl.so.8).
    System error: Error 0
    Examine .loader section symbols with the 'dump -Tv' command.
    Could not load program gtk-update-icon-cache_64:
    Symbol resolution failed for /opt/freeware/lib/libglib-2.0.a[libglib-2.0.so.0] because:
            Symbol _GLOBAL__AIXI_libintl_so (number 197) is not exported from dependent
              module /usr/opt/rpm/lib/libintl.a[libintl.so.8].
            Symbol _GLOBAL__AIXD_libintl_so (number 198) is not exported from dependent
              module /usr/opt/rpm/lib/libintl.a[libintl.so.8].
    System error: Error 0
    Examine .loader section symbols with the 'dump -Tv' command.
    warning: %postun(vim-X11-9.0.1237-1.ppc) scriptlet failed, exit status 255
    
    Error in POSTUN scriptlet in rpm package vim-X11
    

    i examined the shared object, but this looks ok, no idea how you managed to make this fail.

    root@aixbuildhostng: /root/bin # ar -Xany xv /opt/freeware/lib/libglib-2.0.a
    x - libglib-2.0.so.0
    x - libglib-2.0.so.0
    
    root@aixbuildhostng: /root/bin # ldd libglib-2.0.so.0
    libglib-2.0.so.0 needs:
             /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/10/libgcc_s.a(shr.o)
             /usr/lib/libc.a(shr_64.o)
             /usr/lib/libpthreads.a(shr_xpg5_64.o)
             /opt/freeware/lib64/libintl.a(libintl.so.8)
             /opt/freeware/lib/libiconv.a(libiconv.so.2)
             /opt/freeware/lib64/libpcre.a(libpcre.so.1)
             /unix
             /usr/lib/libcrypt.a(shr_64.o)
    
    root@aixbuildhostng: /root/bin # dump -Xany -TvH libglib-2.0.so.0
    
    libglib-2.0.so.0:
    
                            ***Loader Section***
                          Loader Header Information
    VERSION#         #SYMtableENT     #RELOCent        LENidSTR
    0x00000001       0x000007f6       0x000012c6       0x000000f0
    
    #IMPfilID        OFFidSTR         LENstrTBL        OFFstrTBL
    0x00000007       0x0001eba8       0x0000ad15       0x0001ec98
    
    
                            ***Import File Strings***
    INDEX  PATH                          BASE                MEMBER
    0      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/10:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib:/lib
    1                                    libgcc_s.a          shr.o
    2                                    libc.a              shr_64.o
    3                                    libpthreads.a       shr_xpg5_64.o
    4                                    libintl.a           libintl.so.8
    5                                    libiconv.a          libiconv.so.2
    6                                    libpcre.a           libpcre.so.1



    ------------------------------
    I regret starting this entire conversation
    ------------------------------

    #AIXOpenSource