I am quite new to Linus, and I need your help to solve my « Problem: nothing provides libffi.so.7()(64bit) needed by openmp-extras-12.9-0.x86_64 ».
Some context: I am using a repurpose old AM4 x64 rig with Microos with a K3s Kubernetes to host my own services like Jellyfin. So far so good, system is working, transactionnal update are rolling, services are running. Though, I have a AMD radeon HD 5770 inside, and I would like to use it for Jellyfin hardware acceleration. After some digging, I need AMD GPU Kubernetes plugin and for that I need to install ROCm kernel (Installation guide) or latest AMD GPU Linux driver (Installation guide) (https://github.com/RadeonOpenCompute/k8s-device-plugin).
While following the ROCm install, I had 2 problems, first is I can’t had import the ROCm gpg key with the command :
sudo rpm --import https://repo.radeon.com/rocm/rocm.gpg.key System can’t create transaction lock because it’s read only system (In French: “erreur : Impossible de créer transaction verrou sur /usr/lib/sysimage/rpm/.rpm.lock (Read-only file system)”)
Then, while installing the rocm-dkms package, I have the dependency error :
« Problem: nothing provides libffi.so.7()(64bit) needed by openmp-extras-12.9-0.x86_64 ».
Can someone explain to me what is the problem ? For what I get, a dependency for the package is missing. When you create a package, shouldn’t all you dependencies by provided somewhere ?
How can I provide this library ? Should I build it myself ? Build a Kernel ?? How ???