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
  • 1.  Need help resolving AIX symbol resolution error

    Posted 3 days ago
    Edited by Gary Wysocki 3 days ago

    Hello,

    I am encountering the following error when trying to run a program on AIX:

    
    

    Symbol resolution failed for /opt/freeware/lib/libglib-2.0.a[libglib-2.0.so.0] because 0509-136 Symbol _GLOBAL__AIXI_libatomic_so (number 215) is not exported from dependent module /usr/lib/libatomic.a[libatomic.so.1]

    [echo] java.lang.UnsatisfiedLinkError: fontmanager ( 0509-130 Symbol resolution failed for /opt/freeware/lib/libglib-2.0.a[libglib-2.0.so.0] because:

    [echo] 0509-136 Symbol _GLOBAL__AIXI_libatomic_so (number 215) is not exported from

    [echo] dependent module /usr/lib/libatomic.a[libatomic.so.1].

    [echo] 0509-136 Symbol _GLOBAL__AIXD_libatomic_so (number 216) is not exported from

    [echo] dependent module /usr/lib/libatomic.a[libatomic.so.1].

    [echo] 0509-022 Cannot load module /sw/gridm8/base/SASPrivateJavaRuntimeEnvironment/9.4/jre/lib/libfontmanager.so.

    It appears there is a conflict with the libatomic library. 

    Does anyone have suggestions for resolving this symbol resolution failure? I'm not sure what else to try at this point. Any guidance would be greatly appreciated!

    Thanks in advance for your help.



  • 2.  RE: Need help resolving AIX symbol resolution error

    Posted 2 days ago

    Java internally sets LIBPATH to /usr/lib which creates this library conflict. 
    We have updated glib2 recently to not to link to libatomic library. 
    Can you update your glib2 rpm to the latest (ie., 2.87.3-2) and try again ?



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