in reply to Re^2: Upgrading XS module to later version
in thread Upgrading XS module to later version

By the way, export PERL5LIB=$PREFIX/lib is useless.

(sigh, This was supposed to be an update to Re^3: Upgrading XS module to later version.)

Replies are listed 'Best First'.
Re^4: Upgrading XS module to later version
by Anonymous Monk on Feb 17, 2022 at 15:41 UTC

    This is solved now. The packages are installed in $PREFIX/lib/site_perl, and I had to set

    PERL5LIB=$PREFIX/lib/site_perl

    That seems to fix the issue.

    BTW: the information was quite difficult to find, because I did not see any documentation about that, but had to infer this from "man perlrun ->ENVIRONMENT" and from what cpan(m) is doing.

      Something's wrong with your build of Perl if it doesn't look in its own site lib dir!