LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-06-2017, 10:30 PM   #1
zapwai
LQ Newbie
 
Registered: Mar 2011
Location: New England
Distribution: Slackware
Posts: 19
Blog Entries: 6

Rep: Reputation: 11
libmicrohttpd 0.9.55 and kodi 17.3


Slackware 14.2: I just updated libmicrohttpd to 0.9.55 using the slackbuilds.org script. (Well, using sbopkg from the command line.)

Now kodi whines:

Code:
/usr/lib64/kodi/kodi.bin: error while loading shared libraries: libmicrohttpd.so.10: cannot open shared object file: No such file or directory
What gives? I tried rebooting, no luck.

Do I have to rebuild Kodi? That's a long one IIRC.

But I don't recall having to rebuild stuff usually, if I update a dependency... (though I've probably broken stuff this way before and not noticed.)

Last edited by zapwai; 08-06-2017 at 11:30 PM.
 
Old 08-06-2017, 10:33 PM   #2
zapwai
LQ Newbie
 
Registered: Mar 2011
Location: New England
Distribution: Slackware
Posts: 19

Original Poster
Blog Entries: 6

Rep: Reputation: 11
I got lucky because I still have libmicrohttpd-0.9.42-x86_64-1_SBo.tgz in /tmp, so I just switched to that and kodi is fine.
 
Old 08-06-2017, 10:55 PM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
It looks like libmicrohttpd-0.9.55 is ABI level 12 and 0.9.42 was level 10 (see link below). So, when you installed the newer version, it removed libmicrohttpd.so.10 and installed libmicrohttpd.so.12. This means you'd need to rebuild kodi for it to pick up the newer version of libmicrohttpd.

But, according to this the newer version should be 100% backwards compatible with the old version, so you should be able to symlink the newer so.12 to so.10 and have everything work. But that's not a good practice to get in and it is better in the long run to just rebuild kodi.
 
1 members found this post helpful.
Old 08-06-2017, 11:18 PM   #4
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Indeed, from time to time when libraries are updated, the packages that depend on them need to be rebuilt. Many times not, but it doesn't hurt to always rebuild them anyway just to avoid the headache when you need to use them and find they don't work.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Kodi Devs Celebrate New Year with First Release Candidate of Kodi 17 "Krypton" LXer Syndicated Linux News 0 01-01-2017 12:00 AM
[SOLVED] Kodi freezes on exit, kodi.bin won't die pressman57 Linux - Software 6 12-19-2016 07:48 PM
How to build web service using libmicrohttpd ? dan2012 Linux - Server 1 03-24-2013 06:59 AM
How to build web service using libmicrohttpd ? dan2012 Programming 1 03-24-2013 06:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration