fix for libQt5Core.so.5 not found (old kernel)

pull/7/head 4.1.5-2-02
binhex 5 years ago
parent 5bc258e586
commit 13e11d73db

@ -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
####

Loading…
Cancel
Save