AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
Expand all | Collapse all

Why is the perl rpm (recent one perl-5.38.2-1.aix7.1.ppc.rpm) package not relocatable?

  • 1.  Why is the perl rpm (recent one perl-5.38.2-1.aix7.1.ppc.rpm) package not relocatable?

    Posted Thu July 18, 2024 09:32 AM

    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
    ------------------------------


  • 2.  RE: Why is the perl rpm (recent one perl-5.38.2-1.aix7.1.ppc.rpm) package not relocatable?

    Posted Tue August 06, 2024 02:33 AM

    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
    ------------------------------