I am attempting to build LeelaChessZero UCI chess engine. I get the following error:
/usr/local/bin/x86_64-unknown-freebsd14.2-ld: /usr/bin/../lib/LLVMgold.so: error loading plugin: Cannot open "/usr/bin/../lib/LLVMgold.so"
c++: error: linker command failed with exit code 1 (use -v to see invocation)
[279/365] Compiling C++ object liblc0_lib.so.p/src_neural_xla_onnx2hlo.cc.o
ninja: build stopped: subcommand failed.
Any ideas? I am able to build it successfully on FreeBSD and OpenBSD.
Thanks,
Sheldon Wiedeman