Commit: 33cd0535a0d31d9d558b0aa639c9dd5ad299676a Author: Nathan Craddock Date: Thu Aug 29 10:16:13 2019 -0600 Branches: master https://developer.blender.org/rB33cd0535a0d31d9d558b0aa639c9dd5ad299676a
Build: install_deps add lib64 paths for ldconfig Building deps on some systems will install to opt/lib/library/lib64 directories rather than opt/lib/library/lib. This adds additional lib64 paths for ldconfig to ensure the libraries are found at runtime. =================================================================== M build_files/build_environment/install_deps.sh =================================================================== diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh index 9ab460ee00f..eecbe0812cc 100755 --- a/build_files/build_environment/install_deps.sh +++ b/build_files/build_environment/install_deps.sh @@ -1107,13 +1107,14 @@ _create_inst_shortcut() { # ldconfig run_ldconfig() { _lib_path="$INST/$1/lib" + _lib64_path="$INST/$1/lib64" _ldconf_path="/etc/ld.so.conf.d/$1.conf" PRINT "" if [ ! $SUDO ]; then WARNING "--no-sudo enabled, impossible to run ldconfig for $1, you'll have to do it yourself..." else INFO "Running ldconfig for $1..." - $SUDO sh -c "echo \"$_lib_path\" > $_ldconf_path" + $SUDO sh -c "echo -e \"$_lib_path\n$_lib64_path\" > $_ldconf_path" $SUDO /sbin/ldconfig # XXX OpenSuse does not include sbin in command path with sudo!!! fi PRINT "" _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs