File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,6 +79,8 @@ nohup /checode/bin/machine-exec --url "127.0.0.1:${MACHINE_EXEC_PORT}" &
7979libc=$( ldd /bin/ls | grep ' musl' | head -1 | cut -d ' ' -f1)
8080if [ -n " $libc " ]; then
8181 echo " [INFO] Using linux-musl assembly..."
82+ export LD_LIBRARY_PATH=" /checode/checode-linux-musl/ld_libs:${LD_LIBRARY_PATH:- } "
83+ echo " [INFO] LD_LIBRARY_PATH is: $LD_LIBRARY_PATH "
8284 cd /checode/checode-linux-musl || exit
8385else
8486
8789
8890 case " ${openssl_version} " in
8991 * " 1" * )
92+ export LD_LIBRARY_PATH=" /checode/checode-linux-libc/ubi8/ld_libs:${LD_LIBRARY_PATH:- } "
93+ echo " [INFO] LD_LIBRARY_PATH is: $LD_LIBRARY_PATH "
9094 echo " [INFO] Using linux-libc ubi8-based assembly..."
9195 cd /checode/checode-linux-libc/ubi8 || exit
9296 ;;
9397 * " 3" * )
98+ export LD_LIBRARY_PATH=" /checode/checode-linux-libc/ubi9/ld_libs:${LD_LIBRARY_PATH:- } "
99+ echo " [INFO] LD_LIBRARY_PATH is: $LD_LIBRARY_PATH "
94100 echo " [INFO] Using linux-libc ubi9-based assembly..."
95101 cd /checode/checode-linux-libc/ubi9 || exit
96102 ;;
97103 * )
98104 echo " [WARNING] Unsupported OpenSSL major version, linux-libc ubi9-based assembly will be used by default..."
105+ export LD_LIBRARY_PATH=" /checode/checode-linux-libc/ubi9/ld_libs:${LD_LIBRARY_PATH:- } "
106+ echo " [INFO] LD_LIBRARY_PATH is: $LD_LIBRARY_PATH "
99107 cd /checode/checode-linux-libc/ubi9 || exit
100108 ;;
101109 esac
You can’t perform that action at this time.
0 commit comments