You are not logged in.

#1 2019-10-02 14:58:48

teunissenstefan
Member
Registered: 2019-01-16
Posts: 10

[SOLVED] Error while loading shared libraries: libnettle.so.6

Hello!

I wanted to install Xournal because I needed to sign a document. After installing Xournal I tried to launch it but I got the following error:

xournalpp: error while loading shared libraries: libnettle.so.7: cannot open shared object file: No such file or directory

So I did "sudo pacman -S nettle" and the error disappeared. But instead, I got another one:

xournalpp: error while loading shared libraries: libnettle.so.6: cannot open shared object file: No such file or directory

I assume it's now asking for an earlier version of libnettle. How can I fix this issue? If I were to downgrade so I have libnettle.so.6, will it not start asking for libnettle.so.7 again? Thanks.

Last edited by teunissenstefan (2019-10-02 20:38:00)

Offline

#2 2019-10-02 15:08:29

seth
Member
Registered: 2012-09-03
Posts: 62,251

Re: [SOLVED] Error while loading shared libraries: libnettle.so.6

Run "pacman -Syu", do not perform partial updates.

Offline

#3 2019-10-02 20:26:02

teunissenstefan
Member
Registered: 2019-01-16
Posts: 10

Re: [SOLVED] Error while loading shared libraries: libnettle.so.6

You're absolutely right, can't believe I've been such an idiot. After doing a full upgrade Xournal now works but a few other things changed and polybar stopped working. Now when I try to launch Polybar I get the error:
polybar: error while loading shared libraries: libjsoncpp.so.20: cannot open shared object file: No such file or directory
If I can't do partial updates, how do I fix this?

Last edited by teunissenstefan (2019-10-02 20:26:29)

Offline

#4 2019-10-02 20:34:21

seth
Member
Registered: 2012-09-03
Posts: 62,251

Re: [SOLVED] Error while loading shared libraries: libnettle.so.6

polybar is an AUR package, it won't be updated with a general upgrade and you're entirely responsible for maintaining it (iow: update polybar)

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#5 2019-10-02 20:37:48

teunissenstefan
Member
Registered: 2019-01-16
Posts: 10

Re: [SOLVED] Error while loading shared libraries: libnettle.so.6

You're right again, damn. I'm having a very stupid day ?♂️. Thank you very much for helping me!

Offline

Board footer

Powered by FluxBB