Skip to content

Commit e1f335d

Browse files
committed
fix: add /usr/local/lib64 to LD search path
1 parent 6f43cd1 commit e1f335d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker/build_scripts/install-runtime-packages.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ if [ "${BASE_POLICY}" == "manylinux" ]; then
163163
# as LD_LIBRARY_PATH does not seem enough.
164164
# c.f. https://github.com/pypa/manylinux/issues/1022
165165
echo "/usr/local/lib" > /etc/ld.so.conf.d/00-manylinux.conf
166+
if [ "${AUDITWHEEL_ARCH}" == "x86_64" ] || [ "${AUDITWHEEL_ARCH}" == "aarch64" ]; then
167+
echo "/usr/local/lib64" >> /etc/ld.so.conf.d/00-manylinux.conf
168+
fi
166169
ldconfig
167170
else
168171
# set the default shell to bash

0 commit comments

Comments
 (0)