You are not logged in.
Pages: 1
Topic closed
Hi,
I did a full upgrade yesterday after ~10 days stable and right after the upgrade (or more precisely, during the end of the upgrade) I've started getting errors like:
pacman: symbol lookup error: /usr/lib/libcurl.so.4: undefined symbol: libssh2_scp_recv2
I thought maybe a reboot could put everything back to normal but it didn't.
Then I thought - of course - that it was because I added one package too many to the
IgnorePkg=...
section in pacman.conf but I only had ruby and NetworkManager. Not really related to the issue here IMHO.
So I booted the latest LiveCD, ran a
pacman --root /mnt -Syyu
which upgraded a few packages this morning and tried immediately to use pacman from the
arch-chroot
environment. But not luck.
Now my system is fully upgraded (or so pacman tells), but pacman is still broken and so some other critical applications like NetworkManager (which needs curl also).
Is anyone having any similar issue at the moment?
Last edited by nanawel (2018-10-02 08:29:19)
Offline
Ah! Found it.
I had an old libssh2 in my /usr/local/lib for an obscure reason (but probabbly related to the need of php-ssh when PHP7 just came out and was not totally supported).
Still, it might help others. So look at your /usr/local/lib!
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Right, thanks.
Offline
Thanks, had the same issue since a few days and this was also the problem for me.
Offline
Welcome to the forums mksplg
Please take the time to read our forum code of conduct - especially the following section...
https://wiki.archlinux.org/index.php/Co … mpty_posts
Offline
Same issue on my arch-based manjaro-linux distro.
Here's a quick fix that worked for me.
I renamed the symbol & problem was fixed (thanks to following blog post). Here's the command for renaming the troubled symbol:
# mv /usr/local/lib/libssh2.so.1 /usr/local/lib/libssh2.so.1.backup
Offline
That's a just band aid fix to a problem that should be better defined. Why do you have any such library in your /usr/local/lib in the first place and if you have no valid reason you better remove all related libraries that might be there as well, and if you have a valid reason you just broke your valid reason (though these kind of reasons should really be an exception).
Either way the thread as such is [SOLVED] and there's not much additional value to it.
Closing.
Offline
Pages: 1
Topic closed