active environment : base
active env location : /home/huhuhu/mambaforge
shell level : 1
user config file : /home/huhuhu/.condarc
populated config files : /home/huhuhu/mambaforge/.condarc
/home/huhuhu/.condarc
conda version : 4.14.0
conda-build version : not installed
python version : 3.10.6.final.0
virtual packages : __cuda=10.1=0
__linux=3.10.0=0
__glibc=2.17=0
__unix=0=0
__archspec=1=x86_64
base environment : /home/huhuhu/mambaforge (writable)
conda av data dir : /home/huhuhu/mambaforge/etc/conda
conda av metadata url : None
channel URLs : https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
package cache : /home/huhuhu/mambaforge/pkgs
/home/huhuhu/.conda/pkgs
envs directories : /home/huhuhu/mambaforge/envs
/home/huhuhu/.conda/envs
platform : linux-64
user-agent : conda/4.14.0 requests/2.28.1 CPython/3.10.6 Linux/3.10.0-1062.4.1.el7.x86_64 centos/7.7.1908 glibc/2.17
UID:GID : 1048:1048
netrc file : None
offline mode : False
Issue
clang++ -flto main.cpp -o main
cause error
/home/huhuhu/mambaforge/bin/../lib/gcc/x86_64-conda-linux-gnu/12.1.0/../../../../x86_64-conda-linux-gnu/bin/ld: /home/huhuhu/mambaforge/bin/../lib/LLVMgold.so: error loading plugin: /home/huhuhu/mambaforge/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
I couldn't get LLVMgold.so via any conda-forge package
Conda-forge documentation
Installed packages
Environment info
Issue
cause error
I couldn't get
LLVMgold.so
via anyconda-forge
package