Compiling Rust program in Ubuntu environment reports an error:
failed to run custom build command for openssl sys v0.9.39
Ubuntu version: 20.04
Refer to GitHub’s discussion and there are two possible solutions:
sudo apt install pkg-config
sudo apt install libssl-dev
I use the second method to solve this problem.
Read More:
- [Solved] chroot: failed to run command ‘mount’: Exec format error
- Vmware Virtual Machine ubuntu Compile Error: fatal error: Killed signal terminated program cc1plus
- Ubuntu18.04 Compile Error: android 7 FAILED [How to Solve]
- ERROR: configuration failed for package ‘openssl’ [How to Solve]
- [Solved] rk3588_buildroot Compile Error: ERROR: Running build_kernel failed!
- Ubuntu Run Error: not syncing : VFS: Unable to mount root
- How to Solve Ubuntu20.04 Compile Error:error while loading shared libraries: libncurses.so.5
- [Solved] Git Error: OpenSSL SSL_read: Connection was reset, errno 10054和Failed to connect to github.com port 443
- [Solved] Linux program error: dpkg is interrupted. You must manually run ‘sudo dpkg — configure – a’
- [Solved] ERROR: Linux route delete command failed: external program exited with error status: 2
- [Solved] Error in OpenSSL when compiling code locally for raspberry pie
- hb set Error: OHOS ERROR] Invalid vendor path: /home/openharmony/vendor (openharmony Compile ubuntu20.04 official document)
- Ubuntu install and compile OpenCV3.4.0 fatal error: dynlink_nvcuvid.h: No such file or directory #include <dynlink_nv
- EasyConnect linux (ubuntu 20.04) Run Error [How to Solve]
- How to Solve Mujoco Install Error in Ubuntu (Pycharm Run Error)
- How to Solve Ubuntu “Failed to fetch” Error
- [Solved] secureCRT Failed to Login Ubuntu20.04 Error: Key exchange failed
- petalinux-build Error: ERROR: Task (/opt/pkg/petalinux/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-bsp/fsbl/fsbl_git.bb:do_compile) failed with exit code ‘1’
- linux Ubuntu Error: No command ‘setenv‘ found
- [Solved] Cannot run program “svn” (in directory “D: xxxx”): CreateProcess error=2, the system cannot find the specified file.