From 13e11d73dbea0e9661a4376e0be03fc988ea1876 Mon Sep 17 00:00:00 2001 From: binhex Date: Thu, 17 Jan 2019 17:21:59 +0000 Subject: [PATCH] fix for libQt5Core.so.5 not found (old kernel) --- build/root/install.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build/root/install.sh b/build/root/install.sh index d5b6996..7ca09ec 100644 --- a/build/root/install.sh +++ b/build/root/install.sh @@ -47,6 +47,18 @@ aur_packages="" # call aur install script (arch user repo) - note true required due to autodl-irssi error during install source /root/aur.sh +# custom +#### + +# this is a (temporary?) hack to prevent the error '/usr/bin/qbittorrent-nox: +# error while loading shared libraries: libQt5Core.so.5: cannot open shared +# object file: No such file or directory.' when running this container on +# hosts with older kernels (centos, mac os). alternative workaround to this +# is for the user to upgrade the kernel on their host. +pacman -S binutils --needed --noconfirm +strip --remove-section=.note.ABI-tag /usr/lib64/libQt5Core.so.5 +pacman -Rsn binutils --noconfirm + # container perms ####