Page 1 of 2

"error while loading shared libraries: libnghttp2.so.14"

Posted: 26 Mar 2018 16:11
by asqwerth
I did my usual updates today with gslapt, then opened the terminal to install the kernel updates only to get:

Code: Select all

sudo slapt-get -i glibc-zoneinfo kernel-firmware kernel-headers kernel-huge kernel-modules kernel-source
Password: 
slapt-get: error while loading shared libraries: libnghttp2.so.14: cannot open shared object file: No such file or directory
This shared library problem also affects gslapt and conky.

Would appreciate help to rectify this issue with the shared library. Thanks.

Re: "error while loading shared libraries: libnghttp2.so.14"

Posted: 26 Mar 2018 17:48
by bsd4me
I had the same problem and I went here:
http://slackware.uk/slackware/slackware ... ackware/n/
downloaded nghttp2-1.31.0-i586-1.txz, then I had to install via spkg -i

NOTE: my system is 32 bit, if yours is 64 bit, you need to change url address :)

Re: "error while loading shared libraries: libnghttp2.so.14"

Posted: 26 Mar 2018 20:28
by djemos
Thank you both. I have recreated the httpd, gslapt and conky dep files. You have to install also jansson package which is also required.

Re: "error while loading shared libraries: libnghttp2.so.14"

Posted: 27 Mar 2018 02:47
by atipp
Thanks all!

Slapt-get working again.

Yes, as well, smplayer. I just checked. It can play youtube files again.

Re: "error while loading shared libraries: libnghttp2.so.14"

Posted: 27 Mar 2018 03:49
by asqwerth
I'm not at home right now and will try fixing this tonight.

May I confirm the steps:

1) install jansson-2.11-x86_64-1.txz and nghttp2-1.31.0-x86_64-1.txz with spkg -i
2) installing the above 2 will get slapt-get working and I can then do an upgrade of the whole system to get the httpd, gslapt and conky fixes?

Re: "error while loading shared libraries: libnghttp2.so.14"

Posted: 27 Mar 2018 05:45
by djemos
install jansson and nghttp2 with spkg
then

Code: Select all

sudo slapt-get -u
for conky

Code: Select all

sudo slapt-get -i --reinstall conky
for rest

Code: Select all

sudo slapt-get --upgrade
for kernel and glibc-zoneinfo

Code: Select all

sudo slapt-get -i glibc-zoneinfo kernel-firmware kernel-headers kernel-huge kernel-modules kernel-source
sudo update-grub

Re: "error while loading shared libraries: libnghttp2.so.14"

Posted: 27 Mar 2018 16:56
by asqwerth
slapt-get and conky now work. Thanks.

However, the following 2 apps now have (other) shared library issues. Are they related?

- quodlibet
- clementine

Code: Select all

$ quodlibet

** (quodlibet:11102): WARNING **: Failed to load shared library 'libgstreamer-1.0.so.0' referenced by the typelib: libunwind.so.8: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/usr/bin/quodlibet", line 225, in <module>
    main(util.argv)
  File "/usr/bin/quodlibet", line 35, in main
    quodlibet.init()
  File "/usr/lib64/python2.7/site-packages/quodlibet/__init__.py", line 514, in init
    _init_gst()
  File "/usr/lib64/python2.7/site-packages/quodlibet/__init__.py", line 380, in _init_gst
    if Gst.is_initialized():
GLib.Error: g-invoke-error-quark: Could not locate gst_is_initialized: libunwind.so.8: cannot open shared object file: No such file or directory (1)

Code: Select all

$ clementine
clementine: error while loading shared libraries: libcdio.so.16: cannot open shared object file: No such file or directory

Re: "error while loading shared libraries: libnghttp2.so.14"

Posted: 27 Mar 2018 19:19
by djemos
quodlibet is a salix (slackware 14.2) package. I installed it and also feedparser installed as a dep. It is running fine. Probably you did not do a full upgrade. There are new gstreamer packages on slackware current.
clementine recompiled. If you find something please let me know.

Code: Select all

sudo slapt-get -u 
sudo slapt-get --upgrade

Re: "error while loading shared libraries: libnghttp2.so.14"

Posted: 31 Mar 2018 09:23
by asqwerth
Clementine working again after an upgrade. Thanks.

Quodlibet has some bugs. It wouldn't open at first from a menu entry. It could open from terminal but only with this error message:

Code: Select all

$ quodlibet
W: UDisks2: Could not find 'media-player-info'.
W: UDisks: Could not find 'media-player-info'.
W: Couldn't connect to a device backend.
W: No device backend, Media Devices browser disabled.
After you closed the program or the terminal, it wouldn't open again even from terminal until you deleted all the songs/settings config files to force it to open the configuration settings window again.

I couldn't find any settings to disable a Media Devices browser. Took some trial and error to discover that the Media Devices browser was just the main Paned-Browser view. Disabling that view is the only way to make the GUI open normally without terminal.

Re: "error while loading shared libraries: libnghttp2.so.14"

Posted: 31 Mar 2018 13:12
by djemos
quodlibet runs fine here.
You have to install media-player-info
I have recompiled and upgrade quodlibet, mutagen, pyinotify, feedparser
type

Code: Select all

sudo slapt-get -u
sudo slapt-get -i quodlibet
sudo slapt-get --upgrade