ITADN

aarch64_ci_setup.sh - curl: (43) A libcurl function was given a bad argument

#1997Openrobert-hardwick 创建于 2024-09-24
R
robert-hardwickcommented
I am seeing the following error when i run `aarch64_ci_build.sh` which calls `aarch64_ci_build.sh` ``` + curl -L -o /mambaforge.sh https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-aarch64.sh curl: (43) A libcurl function was given a bad argument ``` I have looked into it and it seems that the LD_LIBRARY_PATH changes the libcurl shared library https://github.com/pytorch/builder/blob/89d9a8cf6f4357d5d523b8d7c46351ac913e1309/aarch64_linux/aarch64_ci_setup.sh#L11 From + ldd /usr/bin/curl libcurl.so.4 => /lib64/libcurl.so.4 (0x0000e93bf5c82000) to ( after LD_LIBRARY_PATH change ) + ldd /usr/bin/curl libcurl.so.4 => /opt/conda/lib/libcurl.so.4 (0x0000e4f6784db000) So it seems that the conda installed curl is interferring with the system-installed curl. W
1 条评论