You are not logged in.
Hello everyone, I'm running into an issue with perl 5.22. When I upgraded to that, I started getting undefined symbol errors. I followed the instructions on this post.
I got my lists, however, all my packages are CPAN modules, not from AUR. I tried updating them, but I keep getting errors preventing me from updating them:
$ perl -MCPAN -e "upgrade /(.\*)/"
perl: symbol lookup error: /home/me/perl5/lib/perl5/x86_64-linux-thread-multi/auto/Cwd/Cwd.so: undefined symbol: Perl_xs_apiversion_bootcheck
$ cpan-outdated -p
/usr/bin/perl: symbol lookup error: /home/me/perl5/lib/perl5/x86_64-linux-thread-multi/auto/Cwd/Cwd.so: undefined symbol: Perl_xs_apiversion_bootcheck
$ cpan
/usr/bin/perl: symbol lookup error: /home/me/perl5/lib/perl5/x86_64-linux-thread-multi/auto/Cwd/Cwd.so: undefined symbol: Perl_xs_apiversion_bootcheck
I ended up rolling back to perl 5.20 in order to get things working. Does anyone have any suggestions on what could be causing this?
Last edited by slackcub (2015-06-29 16:36:38)
Offline
Offline
I'm having the same issue. If you do happen to find a solution be sure to post it.
Offline
Karol, that's the post I linked to in my original post.
Offline
Same issue here, after perl upgrade.
perl: symbol lookup error: /usr/lib/perl5/vendor_perl/auto/List/Util/Util.so: undefined symbol: Perl_xs_apiversion_bootcheck
Solved with:
1. Update mirrors
2. Find out all packages not in the main repos (packages installed from AUR)
$ pacman -Qm
3. Remove packages from the list
$ pacman -Rn <package>
4. Rebuild and install all
Offline
I found that just removing the one package from AUR which started with perl- seemed to resolve the issue I was having. I don't think it is really necessary to remove all foreign packages - let alone to remove all their configuration files as well!
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
tolmun and cfr,
Sorry for the delay, I had a family emergency and was away for a bit. As I had stated previously, I don't have any AUR, they've all been installed locally via CPAN.
Offline
As I had stated previously, I don't have any AUR, they've all been installed locally via CPAN.
This is your issue: pacman doesn't know about these modules.
Offline
yes, I understand that. But how can I update all the modules that I have currently installed without uninstalling all of them and reinstalling? There has to be a way.
Offline
I had this exact issue.
Looking at the owner of the faulty file, I found the package perl-scalar-list-utils, that doesn't exist anymore (probably replaced by something else).
Removing this single package solved the problem.
EDIT: actually, I had it installed in pacman, so not exactly the same issue.
Last edited by Gyscos (2015-07-21 18:44:33)
Offline
Gyscos, how did you remove it without being able to execute cpan?
Offline
I actually had installed it with the aur, so I just had to run:
pacman -Rsc perl-scalar-list-utils
This didn't give me any error.
If you installed this package separately, I believe you only need to remove this one manually (and not all other perl packages).
Last edited by Gyscos (2015-07-21 18:44:03)
Offline
Do you have any suggestions on removing it manually since I can't run cpan or perl?
Offline
I just checked a few aur perl packages, and they don't have an uninstall script, so I guess the uninstallation procedure is just removing the package files?
Try removing (or moving to a backup location) the problematic file (or maybe the entire Cwd directory)? Then you can uninstall it properly once CPAN works again.
Last edited by Gyscos (2015-07-23 18:27:55)
Offline