Skip to content

onig_sys v69.2.0 fails to build on Centos with "Unable to find libclang" #109

@pcallahan-r7

Description

@pcallahan-r7

onig_sys v69.1.0 compiles ok.

error: failed to run custom build command for `onig_sys v69.2.0`
process didn't exit successfully: `/libtcellagent/docker_linux_target/debug/build/onig_sys-76e23c1154f13aa7/build-script-build` (exit code: 101)
--- stdout
cargo:warning=couldn't execute `llvm-config --prefix` (error: No such file or directory (os error 2))
cargo:warning=set the LLVM_CONFIG_PATH environment variable to a valid `llvm-config` executable

--- stderr
thread 'main' panicked at 'Unable to find libclang: "couldn\'t find any valid shared libraries matching: [\'libclang.so\', \'libclang-*.so\', \'libclang.so.*\'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', src/libcore/result.rs:997:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions