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

            </div>
目录
相关文章
|
11月前
Mac M1 报错 ld: library not found for -lSystem
Mac M1 报错 ld: library not found for -lSystem
340 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)
411 0
【错误记录】NDK 动态库报错 ( dlopen failed: file offset for the library /lib/arm64/libwebp.so“ >= file size:0)
|
安全 Ubuntu
LD_LIBRARY_PATH It can compromise security
LD_LIBRARY_PATH It can compromise security
74 1
|
Python
ld: library not found for -lssl
ld: library not found for -lssl
68 0
MAC编译lame ld: symbol(s) not found for architecture x86_64/_lame_init_old“, referenced from
MAC编译lame ld: symbol(s) not found for architecture x86_64/_lame_init_old“, referenced from
214 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
107 0
关于问题ld:library not found for -lXXX的错误
关于问题ld:library not found for -lXXX的错误
733 0
Xcode12.x报错: ld: library not found for -lstdc++.6.0.9
错误信息: ld: library not found for -lstdc++.6.0.9 报错原因:Xcode10移除了动态库libstdc
251 0
成功解决OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2
成功解决OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2
成功解决OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2