obs studio fails - missing library libavcodec.so.59
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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".
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.)
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. :-{
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. :-)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.