Library packages are not designed to be relocatable, especially packages like perl , python., etc. Although you can set LIBPATH , PERL5LIB to the relocated path and make it work, it's always problematic.
------------------------------
Ayappan P
------------------------------
Original Message:
Sent: Thu July 18, 2024 09:32 AM
From: Sven Willenbücher
Subject: Why is the perl rpm (recent one perl-5.38.2-1.aix7.1.ppc.rpm) package not relocatable?
I wanted to install the perl rpm package with a different prefix (the default is /opt/freeware). Although the installation with a different prefix is successfull, calling perl is failing because libperl.a is searched at the hard coded places
/opt/freeware/lib/perl5/5.38/CORE
/opt/freeware/lib64/perl5/5.38/CORE
Why is the perl rpm package not relocatable?
Kind regards
Sven
------------------------------
Sven Willenbücher
------------------------------