From f88e6fdc8fe56d26e6bdf4887808a4b0109815a2 Mon Sep 17 00:00:00 2001 From: mdefende <mdefende@uab.edu> Date: Mon, 4 Nov 2024 14:00:45 -0600 Subject: [PATCH] add explanation for strip function --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 2f19e09..4fcf602 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,6 +43,10 @@ RUN rm /tmp/febio.run && \ ln -s /opt/FEBioStudio/bin/FEBioStudio /usr/bin/FEBioStudio && \ ln -s /opt/FEBioStudio/bin/febio4 /usr/bin/febio4 +# See https://unix.stackexchange.com/a/700599. libQt6Core.so.6 adds a tag that denotes a minimum kernel version required +# to run it and is set to 3.17.0, above Centos7's 3.10.0. This is why the library was never found even within a +# container despite successfully finding other Qt6 libraries. This command removes that tag so Qt6Core will function on +# Linux kernel 3.10.0 RUN strip --remove-section=.note.ABI-tag /opt/FEBioStudio/lib/libQt6Core.so.6 ENTRYPOINT ["FEBioStudio"] -- GitLab