Hello,
We are working on AIX 7.2 LPAR admmi013
YUM has been successfully installed yesterday (thanks to Ayappan and Sangamesh).Today our development team has troubles below :
[ERROR] 24/06/2020 11:09:07 Admin Can't load '/usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/auto/XML/Parser/Expat/Expat.so' for module XML::Parser::Expat:
Could not load module /opt/freeware/lib/libexpat.a(libexpat.so.1).[ERROR] 24/06/2020 11:09:07 Admin Dependent module libgcc_s.a(shr.o) could not be loaded.
[ERROR] 24/06/2020 11:09:07 Admin Could not load module libgcc_s.a(shr.o).
[ERROR] 24/06/2020 11:09:07 Admin System error: No such file or directory
[ERROR] 24/06/2020 11:09:07 Admin Could not load module /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/auto/XML/Parser/Expat/Expat.so.
[ERROR] 24/06/2020 11:09:07 Admin Dependent module /opt/freeware/lib/libexpat.a(libexpat.so.1) could not be loaded. at /usr/opt/perl5/lib/5.28.1/aix-thread-multi/DynaLoader.pm line 193.
[ERROR] 24/06/2020 11:09:07 Admin at /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/XML/Parser.pm line 18.
[ERROR] 24/06/2020 11:09:07 Admin Compilation failed in require at /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/XML/Parser.pm line 18.
[ERROR] 24/06/2020 11:09:07 Admin BEGIN failed--compilation aborted at /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/XML/Parser.pm line 22.
[ERROR] 24/06/2020 11:09:07 Admin Compilation failed in require at /opt/rsd/COMMON/lib/rsdPatchFunc.pm line 5.
[ERROR] 24/06/2020 11:09:07 Admin BEGIN failed--compilation aborted at /opt/rsd/COMMON/lib/rsdPatchFunc.pm line 5.
[ERROR] 24/06/2020 11:09:07 Admin Compilation failed in require at /opt/rsd/COMMON/script/rsdpatch.pl line 7.
[ERROR] 24/06/2020 11:09:07 Admin BEGIN failed--compilation aborted at /opt/rsd/COMMON/script/rsdpatch.pl line 7.
[ERROR] 24/06/2020 11:09:07 Admin No RSD products found (environment not initailised?), stop
Sangamesh suggested we open a specific case for this "search path of expat library" problem.
Please find the Sangamesh's message below :There is a problem with library search path of expat library. As a workaround you an export LIBPATH=/opt/freeware/lib.
This file "/usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/auto/XML/Parser/Expat/Expat.so" is from perl.rte fileset.
It links to expat library which only comes through expat rpm which i think is not good. You can open a case for the above issue.
I understand we should use the library coming from the AIX perl.rte fileset not from the RPM package.
How can we solve this problem ?
We thank you very much for your help,
------------------------------
christophe derouet
------------------------------