FFMPEG -PHP Install error because of OBS ?
Hello again! so I am trying to install ffmpeg on my server and I have but now I am not able to enable to the php extension everytime I try I get this error:
I feel like my installing OBS messed up the libraries that are needed for FFMPEG -PHP, is there any way to purge the OBS library, I already uninstalled it through the GUI - I am using Almalinux 8
Error:
Problem: problem with installed package obs-studio-libs-27.0.1-2.el8.x86_64
- package obs-studio-libs-27.0.1-2.el8.x86_64 requires libx264.so.157()(64bit), but none of the providers can be installed
- cannot install both x264-libs-1:0.163-25.20210613git5db6aa6.el8.x86_64 and x264-libs-0.157-12.20190717git34c06d1.el8.x86_64
- cannot install both x264-libs-0.157-12.20190717git34c06d1.el8.x86_64 and x264-libs-1:0.163-25.20210613git5db6aa6.el8.x86_64
- package ffmpeg-libs-1:4.4-1.el8.x86_64 requires libx264.so.163()(64bit), but none of the providers can be installed
- package ffmpeg-devel-1:4.4-1.el8.x86_64 requires ffmpeg-libs(x86-64) = 1:4.4-1.el8, but none of the providers can be installed
- cannot install the best candidate for the job
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
(XID r4f4bx) "/usr/bin/yum" reported error code "1" when it ended: I feel like my installing OBS messed up the libraries that are needed for FFMPEG -PHP, is there any way to purge the OBS library, I already uninstalled it through the GUI - I am using Almalinux 8
-
You can try to remove the "obs-studio-libs-27.0.1-2.el8.x86_64" package but you have to make sure it won't remove any dependencies which is necessary for cPanel to work so be careful. You can do so with the following command: yum remove obs-studio-libs-27.0.1-2.el8.x86_64 0 -
thank you Ill give that a try ! 0 -
unfortunately that didnt work, ALTHOUGH it did get rid of the OBS Studio library which is a step closer imho to figuring this out lol 0 -
do you think that using the --allowerasing command would cause issues with the server ? also would it be something like yum install ffmpeg-devel --allowerasing ? Sorry if thats a silly question I am still in school for this kind of stuff. :P You can try to remove the "obs-studio-libs-27.0.1-2.el8.x86_64" package but you have to make sure it won't remove any dependencies which is necessary for cPanel to work so be careful. You can do so with the following command: yum remove obs-studio-libs-27.0.1-2.el8.x86_64
0 -
I think using the allowerasing command worked! it replaced the libraries and now I have it installed, now I just need to figure out how to activate it in PHP. Everything Ive read is wrong though calls for commands that dont exist on my system like phpize. hmmmm.. Ill be back if I figure out a fix. 0 -
Great job Josh! Glad everything turned out fine. 0 -
Good work! I did want to mention that due to various licensing issues, we're not able to offer support on our end for FFMPeg and related tools, but I'm glad you were able to find a solution! 0
Please sign in to leave a comment.
Comments
7 comments