Environment: AIX7.1 TL5 SP5
gnupg2-2.0.30-1.ppc , gcc-8.3.0-2.ppc , gmp-6.1.2-1.ppc , mpfr-4.0.2-2.ppc
Problem:
The server was updated from AIX 7.1 TL5 SP1 to AIX 7.1 TL5 SP5 and then upgrade the gpg package.
The gcc was also upgraded to 8.3.
After that, cc1 throws the error as below.
------------------------------------------------------------------
$ cd /opt/freeware/libexec/gcc/powerpc-ibm-aix7.1.0.0/8.3.0
$ ./cc1
Could not load program cc1:
Symbol resolution failed for /opt/freeware/lib/libmpfr.a(
libmpfr.so.6) because:
Symbol _GLOBAL__AIXI_libgmp_so (number 5) is not exported from dependent
module /opt/freeware/lib/libgmp.a(
libgmp.so.10).
Symbol _GLOBAL__AIXD_libgmp_so (number 6) is not exported from dependent
module /opt/freeware/lib/libgmp.a(
libgmp.so.10).
System error: Error 0
Examine .loader section symbols with the 'dump -Tv' command.
------------------------------------------------------------------
I read from forum below and tried to rename file "/opt/freeware/lib64/libmpfr.a" file to "libmpfr.a.bak" but it does not help.
https://community.ibm.com/community/user/power/communities/community-home/digestviewer/viewthread?GroupId=6211&MID=139719&CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=digestviewer&ReturnUrl=%2Fcommunity%2Fuser%2Fpower%2Fcommunities%2Fcommunity-home%2Fdigestviewer%3FCommunityKey%3D10c1d831-47ee-4d92-a138-b03f7896f7c9$ cd /opt/freeware/libexec/gcc/powerpc-ibm-aix7.1.0.0/8.3.0
$ dump -Hv cc1 | grep libmpfr
3 libmpfr.a
libmpfr.so.6
$ ldd cc1 | grep libmpfr.a
/opt/freeware/lib/libmpfr.a(
libmpfr.so.6)
/opt/freeware/lib/libmpfr.a(
libmpfr.so.4)
The attached files are error.txt (error when run cc1), rpm_qa.txt (rpm -qa), ls_l_freeware_lib.txt (ls -l /opt/freeware/lib)
Please kindly help to recommend.
Thanks so much for your help.
Premvadee Kusollerkdee
------------------------------
Premvadee Kusollerkdee
------------------------------