LinuxQuestions.org
Visit Jeremy's Blog.
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 09-21-2016, 04:13 PM   #1
coner
Member
 
Registered: Mar 2013
Posts: 43

Rep: Reputation: Disabled
Slackware Live_lost-lib


Re: Slackware-Live-14.2.iso, 2.78GB; iso2usb.sh

Hi,

link

This URL downloaded Slackware package installed OK, but when a later SlackBuild install of a different program was installed and functional, it had a fit:

Code:
bash-4.3# simplescreenrecorder
simplescreenrecorder: error while loading shared libraries: libavformat.so.57: cannot open shared object file: No such file or directory
bash-4.3# slackpkg file-search libavformat.so.57

Looking for libavformat.so.57 in package list. Please wait... DONE

No packages contains "libavformat\.so\.57" file.

bash-4.3# find -H / -name "*libavformat.so.57"
bash-4.3#
Slackpkg can find NO sign of this shared object file that it could, earlier, before the latter SlackBuild install.
Q: What steps are required to recovered this lost-lib?
coner
 
Old 09-21-2016, 04:44 PM   #2
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
coner,
If you had read carefully the page at slackbuilds.org,
https://slackbuilds.org/repository/1...screenrecorder
you would have seen that it's dependent upon ffmpeg.
ffmpeg provides the libavformat library.
HTH!
 
Old 09-21-2016, 06:40 PM   #3
coner
Member
 
Registered: Mar 2013
Posts: 43

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by STDOUBT View Post
coner,
If you had read carefully the page at slackbuilds.org,
https://slackbuilds.org/repository/1...screenrecorder
you would have seen that it's dependent upon ffmpeg.
ffmpeg provides the libavformat library.
HTH!
STDOUBT,
Initial installation of SSR installed 'libavformat', but after installing another SlackBuild package, SSR can no longer find it, even though Package Manager just reported 'FFMPEG' has already been installed:



Quote:
root@darkstar:/home/live# slpkg -s sbo ffmpeg
Reading package lists... Done
Resolving dependencies... Done

The following packages will be automatically installed or upgraded
with new version:

+==============================================================================
| Package New version Arch Build Repos Size
+==============================================================================
Installing:
ffmpeg-2.8.7 2.8.7 i486 SBo

Installing summary
===============================================================================
Total 1 package.
0 package will be installed, 1 already installed and 0 package
will be upgraded.

root@darkstar:/home/live#


# # #
I have reinstalled SSR w/o success, giving post credence.
coner
PS. Second SlackBuild install was 'dvdstyler' and it functions OK.
 
Old 09-22-2016, 07:58 AM   #4
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
You have mismatched versions of ffmpeg. You have ffmpeg v2.8.x installed, which includes libavformat v56. For libavformat v57, you need ffmpeg 3.x. See this ffmpeg page for more details on what library versions are included in what ffmpeg versions. What likely happened is you downloaded a pre-compiled binary of ssr, which was compiled against ffmpeg 3.x, but you only have ffmpeg 2.8.x installed, so ssr is expecting a newer version of ffmpeg, which doesn't exist on your system.

I'd recommend using the SlackBuild from SBo to compile ssr, as it will then link to the correct version of ffmpeg that's installed on your system.

And in case you're considering updating your ffmpeg, know that it would possibly break other apps that are linked to that version (like dvdstyler), so it would probably be easier to just compile ssr from source and have it link to the current ffmpeg version on your system.

To note, this is why it can be problematic installing pre-compiled binaries from multiple sources... you don't know what libraries were present on that system when it was compiled, so you can run into dependency issues like here. It probably isn't very common, but it can be a pain to deal with if/when it occurs. Just food for thought... I'm not trying to change any of your practices
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Does Slackware have a shared mp3 lib? Squall90 Slackware 2 11-07-2010 06:27 PM
9.0 slackware lib problem dogbird Programming 3 11-09-2005 07:49 PM
Slackware 9.1 error /lib/libncurses.so.5 Fang Slackware 4 12-13-2003 06:34 PM

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

All times are GMT -5. The time now is 06:15 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