BigRat fails to load unless an additional Perl path is specified
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmath-bigint-gmp-perl (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
== Ubuntu release version ==
Description: Ubuntu 22.04.1 LTS
Release: 22.04
The issue manifests on a fresh install of Ubuntu 22.04.1 after installing all of the updates and the libmath-
== Package version ==
libmath-
Installed: 1.6010-1build1
Candidate: 1.6010-1build1
Version table:
*** 1.6010-1build1 500
500 http://
100 /var/lib/
== Expected behaviour ==
The expected behaviour is that upon installing the libmath-
Example of a Bash command that should silently properly execute:
$ perl -e "use Math::BigRat try => 'GMP';"
== Actual behaviour ==
Upon running the following Bash command:
$ perl -e "use Math::BigRat try => 'GMP';"
the following error message is generated instead:
> Undefined subroutine &Math::
> BEGIN failed--compilation aborted at -e line 1.
Furthermore, is the original command is run with an updated PERL5LIB variable, the library properly loads as expected, e.g.:
PERL5LIB=
Status changed to 'Confirmed' because the bug affects multiple users.