Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

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

Description

@robert-hardwick

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

LD_LIBRARY_PATH=/opt/conda/envs/${CONDA_ENV_NAME}/lib/:/opt/conda/lib:$LD_LIBRARY_PATH

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions