You are not logged in.
openconnect just broke today after running a system upgrade.
Executing it threw the following error:
openconnect: error while loading shared libraries: libgnutls.so.28: cannot open shared object file: No such file or directory
After downgrading gnutls:
$ sudo pacman -U /var/cache/pacman/pkg/gnutls-3.3.14-2-x86_64.pkg.tar.xz
loading packages...
warning: downgrading package gnutls (3.4.0-1 => 3.3.14-2)
...
$ openconnect
openconnect: error while loading shared libraries: libnettle.so.4: cannot open shared object file: No such file or directory
So I downgraded also nettle:
$ sudo pacman -U /var/cache/pacman/pkg/nettle-2.7.1-1-x86_64.pkg.tar.xz
...
$ openconnect
No server specified
Usage: openconnect [options] <server>
...
I'm posting this because it may be helpful to somebody.
Last edited by miquelruiz (2015-04-19 16:47:42)
Offline
Downgrading is not the correct fix, upgrading or rebuilding the executable that's linked to the old lib is.
Online
Could you provide more info about how to do that?
I'll be glad to update the post.
Think of this as a workaround until a fixed version of openconnect is uploaded to the package repositories.
Last edited by miquelruiz (2015-04-19 16:40:58)
Offline
openconnect got moved to [extra] today. Check if you have version 1:7.06-2 installed.
Offline
openconnect got moved to [extra] today. Check if you have version 1:7.06-2 installed.
That was the problem, I had version 1:7.06-1. For some reason the new version was not available the first time I run the system upgrade.
Thank you very much!
Offline
Mirrors get out of sync, they may have one updated package available but not another. Using more recently synced mirrors https://wiki.archlinux.org/index.php/Mi … ror_status or waiting a few hours helps.
Offline
I just upgrade my system, now I can't use pacman anymore:
[root@i3 ~]# pacman -S
pacman: error while loading shared libraries: libnettle.so.4: cannot open shared object file: No such file or directory
[root@i3 ~]# find / -iname "libnettle*"
/usr/lib/libnettle.so.6.0
/usr/lib/libnettle.so
/usr/lib/libnettle.so.6
So there is a missing version-restriction on libnettle or pacman (or a dependency of one of them) which makes it impossible to make a safe upgrade.
Offline
What packages did you update?
Offline
I don't know now, but I just linked the *.so.6 to the *.so.4 and everything work... so if an update will fix it, I know it because of the conflicts.
Offline
I don't know now, but I just linked the *.so.6 to the *.so.4 and everything work... so if an update will fix it, I know it because of the conflicts.
That's not a fix, that's a horrible hack that will break things.
And no, an update that fixes the issue will not conflict. An update that fixes things will point whatever out of date binary you have to the new lib.
Last edited by Scimmia (2015-04-22 14:09:57)
Online
I reported it:
Offline
I had the same issue during the execution of "mkinitcpio -p linux" after linux package upgrade to version 4.0.1. That caused a kernel panic on the following ArchLinux startups.
Maybe it's horrible and maybe it will break everything, but Ruben's solution gave me my computer back! Thank you.
Offline