LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-04-2023, 09:05 AM   #1
JinxsDad
Member
 
Registered: Apr 2023
Location: Fort Walton Beach, FL
Distribution: Slackwareb15
Posts: 271

Rep: Reputation: 23
obs studio fails - missing library libavcodec.so.59


I'm using (or rather, trying to use) OBS Studio from Alien Slackbuilds. Just one problem: it fails every time I try to run it, complaining about a missing shared library, libavcoded.so.59. If I try
the one from the OBS Studio site, it fails due to another shared library (forgot which, sorry). I
tried installing the latest ffmpeg (other conversations suggested that libavcodec should be in ffmpeg. No such luck.

So, hopefully this is a simple enough question: Where do I get this shared lib?

System info:

Running a full install of Slackware 15 (nothing left out, not even emacs).

Laptop details (NOT leaving anything out because that's always a Bad Thing(TM):
---------------------------------------------------

Laptop: Lenovo L340 Gaming

KEY SPECIFICATIONS:

Processor: 9th Gen Intel Hexa-Core i7-9750H, 2.6GHz up to 4.5GHz,
12 MB Cache, 12 Threads
Display: 17.3 inch Full HD (1920 x 1080) IPS WLED Display
Memory: 16GB DDR4
Storage: 1TB SSD
Graphics: Dedicated 4GB GDDR5 NVIDIA GeForce GTX 1650
Communications: Wi-Fi 5 (802.11ac) and Bluetooth 4.1
Keyboard: Backlit Keyboard
Audio: Dolby Audio - ELEFW328 NVIDIA High Definition Audio
Camera: 720p HD Webcam
Operating system: Windows 10 Home 64 bit
Ports & Slots: 1 x USB 3.1 Type-C, 2 x USB 3.1, 1 x HDMI, 1 x RJ-45,
1 x Media Card Reader, 1 x headphone/microphone combo jack
Battery life: 3-cell, up to 5 hours
Additional Information:
Dimensions: 16.26" x 11.21" x 1"
Approximate Weight: 6.16lbs
Accessory: DELCA 16GB Microso SD included

---------------------------------------------------
(8:58) % uname -a
Linux JinxxxsSlack.local 5.15.19 #1 SMP PREEMPT Wed Feb 2 01:50:51 CST 2022 x86_64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz GenuineIntel GNU/Linux

Btw, the hostname is supposed to be JinxsSlack, but somehow it turned into that one, and nothing seems to want to let me fix it. But that's another topic for a different post.

Thanks
 
Old 06-04-2023, 10:31 AM   #2
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Did you mean "libavcodec.so.59"? It appears you are running Slackware 15.0 based on the kernel version you posted.

Try replacing the base ffmpeg-4.4.1 with ffmpeg-5.1.2 from alien slackbuilds.
 
Old 06-04-2023, 12:46 PM   #3
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 780

Rep: Reputation: 249Reputation: 249Reputation: 249
In the future

You could look for a needed file like so:

Code:
slackpkg file-search libavcodec.so.59


NOTICE: pkglist is older than 24h; you are encouraged to re-run 'slackpkg update'

Looking for libavcodec.so.59 in package list. Please wait... DONE

The list below shows the packages that contains "libavcodec\.so\.59" file.

[inst] restricted  : ffmpeg-5.1.2-x86_64-1alien
[mask] alienbob    : ffmpeg-5.1.2-x86_64-1alien
[mask] slackware64 : ffmpeg-5.1.2-x86_64-2

You can search specific packages using "slackpkg search package".
 
1 members found this post helpful.
Old 06-04-2023, 07:32 PM   #4
JinxsDad
Member
 
Registered: Apr 2023
Location: Fort Walton Beach, FL
Distribution: Slackwareb15
Posts: 271

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by Chuck56 View Post
Did you mean "libavcodec.so.59"? It appears you are running Slackware 15.0 based on the kernel version you posted.

Try replacing the base ffmpeg-4.4.1 with ffmpeg-5.1.2 from alien slackbuilds.
Typo.....
 
Old 06-04-2023, 07:35 PM   #5
JinxsDad
Member
 
Registered: Apr 2023
Location: Fort Walton Beach, FL
Distribution: Slackwareb15
Posts: 271

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by jayjwa View Post
You could look for a needed file like so:

Code:
slackpkg file-search libavcodec.so.59


NOTICE: pkglist is older than 24h; you are encouraged to re-run 'slackpkg update'

Looking for libavcodec.so.59 in package list. Please wait... DONE

The list below shows the packages that contains "libavcodec\.so\.59" file.

[inst] restricted  : ffmpeg-5.1.2-x86_64-1alien
[mask] alienbob    : ffmpeg-5.1.2-x86_64-1alien
[mask] slackware64 : ffmpeg-5.1.2-x86_64-2

You can search specific packages using "slackpkg search package".
Any day you learn something new is an awesome day. Thanks for making this an awesome day for me. :-)

Edit: Now I can fix other things missing shared libs (like disk manager, with which I can format and hopefully be able to use an old 4 TB USB drive. Then I convert two old NTFS drives to ext-4.)

Last edited by JinxsDad; 06-04-2023 at 07:43 PM.
 
Old 06-05-2023, 11:18 AM   #6
JinxsDad
Member
 
Registered: Apr 2023
Location: Fort Walton Beach, FL
Distribution: Slackwareb15
Posts: 271

Original Poster
Rep: Reputation: 23
Ok, so I had to reload the page because of some token, and now my post is gone.

So here's the summary: uninstall for vokoscreenNG didn't just remove its directory (e.g. ...../..../.../vokoscreenNG ... oh no ... it removed /usr/bin.

So now, after some serious extra backups (I back up MY home directory, not the system), I'm hoping the live CD/DVD install disk has a repair option that
can at least rebuild the original /usr/bin/.

If not, and I'll check back here after doing my current backups including /etc and Firefox (after I find where its profile stuff is and back it up) and see
if there are any suggestions. Otherwise, as far as I know, it's going to be full reinstall time. :-{

Suggestions?
 
Old 06-07-2023, 12:29 AM   #7
JinxsDad
Member
 
Registered: Apr 2023
Location: Fort Walton Beach, FL
Distribution: Slackwareb15
Posts: 271

Original Poster
Rep: Reputation: 23
After finally getting an install image to boot and do a clean install of Slackware 15, some strange things happened. First, not being able to use cpio, I used tar for backups. But tar did some crazy stuff. It backed up a ~/calendar file that doesn't exist instead of mine, selectively ignored stuff, etc. So I'm rebuilding from old backups. Good thing, though: I no longer need to be logged in as root to mirror displays. Same DVD iso file, same full install, vastly different results (sharing displays is not the only thing working now that wasn't before). STRANGE...... Must be the full moon. :-)
 
Old 06-07-2023, 09:52 AM   #8
JinxsDad
Member
 
Registered: Apr 2023
Location: Fort Walton Beach, FL
Distribution: Slackwareb15
Posts: 271

Original Poster
Rep: Reputation: 23
Another thing that works in this second full install that didn't in the first; OBS Studio.
Now I'm just installing apps and trying to either find my old (was my version before) and make it use my profile from before, or find a way to force the much newer one to use it, including extensions. Any less is totally UNSAT.
 
  


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: Streamlabs shamed into dropping 'OBS' from product name after open-source OBS Project wades into Twitter spat LXer Syndicated Linux News 0 11-19-2021 03:03 AM
alienBOB's vlc.Slackbuild script fails on libavcodec.pc on Slackware64 14.0 multilib. indubitableness Slackware 19 08-20-2013 07:37 AM
[SOLVED] Video - Studio 13.37 vs KXStudio, AV Linux, Dream Studio, and Ubuntu Studio l0wt3ch Studio 13.37 1 12-05-2012 07:45 PM
Studio to studio or studio to transmitter stable open source solution MATRIX_q Linux - Server 0 08-25-2011 03:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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