windows openssl环境变量_run custom build command for `openssl-sys v0.9.55`
windows下 编译 r2d2-mongodb 报错
error: failed to run custom build command for `openssl-sys v0.9.55`
解决办法:
1.安装openssl
Windows下:
https://slproweb.com/products/Win32OpenSSL.html网站下载
https://slproweb.com/download/Win64OpenSSL-1_0_2u.exe
或
https://slproweb.com/download/Win32OpenSSL-1_0_2u.exe
Linux下:
centos: yum install -y openssl-dev openssl
debian/ubuntu:apt-get install -y openssl
2.rust编译
cargo build
错误信息:
error: failed to run custom build command for `openssl-sys v0.9.55`
解决方案:
安装Win32/64OpenSSL-1_0_2s.exe,然后配置环境变量
OPENSSL_DIR=C:OpenSSL-Win64,
powershell: $env:OPENSSL_DIR="C:OpenSSL-Win64"
cmd: set OPENSSL_DIR="C:OpenSSL-Win64"
再次运行,OK。
3.rust运行
cargo run:
错误信息:
error: process didn't exit successfully: `targetdebugasync_ex1.exe` (exit code: 0xc0000135, STATUS_DLL_NOT_FOUND)
解决方案:
拷贝libeay.dll、ssleay.dll、libssl.dll到targetdebug目录下,
再次运行,OK。
转载自:https://dot2.com/t-106.html
windows openssl环境变量_run custom build command for `openssl-sys v0.9.55`相关推荐
- windows修改环境变量
windows的环境变量有两套: 系统的 当前用户的 不同的用户可以拥有不同的环境变量,当前用户的环境变量优先级比系统的环境变量优先级高,PATH环境变量比较特殊,它不是替换而是拼接. 在命令行下也可 ...
- 【Rust】Ubuntu编译Rust程序报错 failed to run custom build command for openssl-sys v0.9.39 的解决方法
Ubuntu环境下编译Rust程序报错: failed to run custom build command for openssl-sys v0.9.39 Ubuntu版本:20.04 参考Git ...
- windows下环境变量配置后没生效,不重启电脑的解决办法
本篇文章主要讲解windows配置了环境变量但没有生效的原因及不重启电脑的解决办法 作者:任聪聪 配置环境变量后显示命令不存在,找不到,现象如下. 主要原因 windows配置完毕环境变量,由于某种原 ...
- 中修改环境变量_系统小技巧:彻底弄懂Windows 10环境变量
每当我们进行系统清理时,清理软件总能自动找到Windows的临时文件夹之所在,然后加以清理,即便是我们重定向了TEMP目录也是如此.究其原因,是因为清理软件会根据TEMP环境变量来判断现有临时文件夹的 ...
- Windows配置环境变量的作用和方法
Windows配置环境变量的作用和方法 一.什么是环境变量 二.为什么要配置环境变量 三.JDK的下载和安装 四.如何配置Java环境变量 Win7如何设置环境变量 Win10如何设置环境变量 一.什 ...
- Windows Path 环境变量配置无效
Windows Path 环境变量配置无效 1.配置环境变量后CMD需要重启 2.配置路径是必须是英文环境,路径中不能有中文 3.
- windows备份环境变量(导入导出)
windows备份环境变量(导入导出) 导出(备份) win+r regedit 回车 系统环境变量 地址栏输入 计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentContro ...
- Ubuntu中配置Java环境变量时,出现command not found问题解决记录
百度出Ubuntu中配置Java环境变量时,在利用sudo gedit /etc/profile 对profile编辑后, 在terminal中输入 sudo source /etc/profile, ...
- 改变openssl的环境变量linux,ECS Linux 安装配置openssl的具体过程
这篇文章讲解在Linux系统下安装和配置openssl的过程 实验环境:Openssl 0.9.8, CentOS 6.5 Release (Final) 安装openssl需要预装gcc,若没有安装 ...
最新文章
- 照片你随便拍,「光影」我任意调,MIT谷歌新研究,器材党老法师看了会沉默...
- 3_9 VisitorMode 访问者模式
- 全局预处理与执行,作用域与作用域链
- activity 点击后传递数据给fragment_Fragment 新特性 : Fragment Result API 使用以及源码分析
- jquery.dataTables.min.js:62 Uncaught TypeError: Cannot read property ‘style‘ of undefined原因
- mongodb模糊查询_MongoDB技术从0到1+
- angularjs中按回车事件_在AutoCAD中巧用空格键或回车键,制图效率高
- c语言一元二次方程代码,一元二次方程求解程序完整代码
- Mysql关键字 (MySQL 5.1参考手册)
- 【转】临界区、互斥对象
- 凸包算法详解(Graham扫描法)
- 计算机安装pdf打印机驱动,Win7安装Microsoft Print to PDF虚拟打印机的方法
- Word 2019怎样自定义模板,并将自定义模板设为默认模板
- 健康驿站房间线上预约系统网站分析
- python文件或文本加密(4种方法)
- 2.1 ppt 用图形搞定 封面(2)
- Activity焦点
- 巨头特斯拉的进击之路
- Android项目中加入弹幕功能
- Android使用高德地图api实现基础定位