https://bugzilla.redhat.com/show_bug.cgi?id=1590973 --- Comment #5 from Mark Brader <msb@xxxxxxx> --- (In reply to Petr Pisar, comment #4) >> Thanks. I must have obtained "Encode" from CPAN at some time in the past >> and then forgotten doing it, so I thought it came from an rpm. > You can use "rpm -qf /usr/local/lib64/perl5/auto/Encode/Encode.so" to check > whether the file is delivered by an RPM package. In fact I did that, I just didn't believe the result. >> I've now reinstalled "Encode" from CPAN and that fixed it. > This will break again when you upgrade to Fedora with Perl 5.28. I know, but I figured "now I know how to fix it". > I would > recommend you to uninstall Encode from CPAN. Fedora delivers Encode in perl- > Encode and perl-Encode-devel RPM packages. In fact it turns out that I had perl-Encode installed already (presumably not something I did deliberately), but it installs things into /usr/lib64/perl5/vendor_perl rather than /usr/local/lib64/perl5. Presumably Perl was accessing the latter directory first and not looking further, so it didn't pick up the working version. > You can use "dnf install perl(Encode)" to get Encode Perl module > installed from an RPM. Interesting, I did not know about that syntax. (And I'm annoyed to find that it works for "dnf install" but not for "dnf search".) Thanks for your help. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx/message/7NG4FBRQQ4MWY2UT33HXOAOL6VCL3HHC/