ld: library not found for -lssl

简介: ld: library not found for -lssl

问题:

在Mac 上安装 mysqlclient 库的时候报错

ld: library not found for -lssl

解决:

引入lssl路径后再安装

env LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib" \
pip install mysqlclient

参考:

python mac下安装 MySQLdb模块的坑 library not found for -lssl

相关文章
|
并行计算
解决Could not load dynamic library ‘libcudart.so.11.0‘; dlerror: libcudart.so.11.0
解决Could not load dynamic library ‘libcudart.so.11.0‘; dlerror: libcudart.so.11.0
3343 0
|
5月前
ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found
ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found
178 0
|
Android开发
【错误记录】NDK 动态库报错 ( dlopen failed: file offset for the library /lib/arm64/libwebp.so“ >= file size:0)
【错误记录】NDK 动态库报错 ( dlopen failed: file offset for the library /lib/arm64/libwebp.so“ >= file size:0)
470 0
【错误记录】NDK 动态库报错 ( dlopen failed: file offset for the library /lib/arm64/libwebp.so“ >= file size:0)
Mac M1 报错 ld: library not found for -lSystem
Mac M1 报错 ld: library not found for -lSystem
455 0
|
缓存 关系型数据库 MySQL
Linux环境变量设置(PATH/LIBRARY_PATH/LD_LIBRARY_PATH)
Linux环境变量设置(PATH/LIBRARY_PATH/LD_LIBRARY_PATH)
5286 0
|
Python
解决loaded more than 1 DLL from .libs和No metadata found in lib\site-packages两个错误
解决loaded more than 1 DLL from .libs和No metadata found in lib\site-packages两个错误
626 0
|
安全 Ubuntu
LD_LIBRARY_PATH It can compromise security
LD_LIBRARY_PATH It can compromise security
109 1
|
Python
ld: library not found for -lssl
ld: library not found for -lssl
82 0
缺少链接库报错:ld: symbol(s) not found for architecture x86_64
缺少链接库报错:ld: symbol(s) not found for architecture x86_64
251 0
symbol lookup error: /home/quantum6/build_libs/lib/libreadline.so.7: undefined symbol: UP
symbol lookup error: /home/quantum6/build_libs/lib/libreadline.so.7: undefined symbol: UP
130 0