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

You have a problem with Slackel? Post here and we'll do what we can to help.
asqwerth
Posts: 18
Joined: 02 May 2017 10:52

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

Post 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.
bsd4me
Posts: 106
Joined: 03 Jan 2018 19:27
Location: Kenai Peninsula in Alaska

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

Post 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 :)
Retired at home in Alaska for now.
djemos
Site Admin
Posts: 676
Joined: 15 Apr 2016 06:03

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

Post 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.
atipp
Posts: 42
Joined: 04 May 2016 03:02

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

Post by atipp »

Thanks all!

Slapt-get working again.

Yes, as well, smplayer. I just checked. It can play youtube files again.
asqwerth
Posts: 18
Joined: 02 May 2017 10:52

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

Post 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?
djemos
Site Admin
Posts: 676
Joined: 15 Apr 2016 06:03

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

Post 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
asqwerth
Posts: 18
Joined: 02 May 2017 10:52

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

Post 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
djemos
Site Admin
Posts: 676
Joined: 15 Apr 2016 06:03

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

Post 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
asqwerth
Posts: 18
Joined: 02 May 2017 10:52

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

Post 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.
djemos
Site Admin
Posts: 676
Joined: 15 Apr 2016 06:03

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

Post 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
Post Reply