Ld: library not found for这类问题是文件没找到或者编译框架的问题。 1. 首先检查Frameworks这个目录下面,看看那些事由于iOS SDK版本引起的问题,列如:xcode7之前库文件后缀是dylib而之后就变成了tbd。.
- Ld Library Not Found For Lssl Mac Mysql Command
- Mac Library Not Found For Lssl
- Ld Library Not Found For Lssl Mac Mysql Tutorial
- Ld Library Not Found For Lssl
- Share:
- Please consider sharing 🙏
- Published At:
- Dec 11th, 2020
- Tags:
- #ruby, #rails, #mysql, #gem
- Next:
- Ruby's Shovel Method: Digging Deeper
- Previous:
- Webpacker 6: Tutorial Setup
Ld: library not found for -lssl (this usually means you need to install the development package for libssl) you may need to install OpenSSL and link pkg-config to. On macOS 10.14 (Mojave) If you get an error like: ld: library not found for -lssl (this usually means you need to install the development package for libssl) you may need to install OpenSSL and link pkg-config to OpenSSL: brew install openssl export PKGCONFIGPATH=$PKGCONFIGPATH:/usr/local/opt/openssl/lib/pkgconfig. Ld: library not found for -lXXXXX 的解决方法 团队开发的时候每次更新后都有可能碰到各种各样的问题,昨天同事对项目结构做了些修改,更新后编译就遇到下面的情况: ld: library not found for -lAFNetworking 这个错误是说编译时找不到AFNetworking这个链接库,但是我在项目. Ld: library not found for -lssl clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command '/usr/bin/clang' failed with exit status 1 i fix it by install PyMySQL. Pip3 install PyMySQL Hope this help later-comers.
I’ve come across this error several times throughout my development career so I figured it was finally time to write it down.
Scenario
Whenever I try to install certain versions of the mysql2 gem in a Ruby on Rails application, I get the following error:
Solution

In order to fix this issue on macOS, first make sure that you have cmake installed.
Then you can install the gem via the following command:
Hope this helps save someone some time!
View All ArticlesRecently another young developer had the following problem when he tried to execute

and he got this error.
Ld Library Not Found For Lssl Mac Mysql Command
The problem is that a library is missing. As you can see on this line
Mac Library Not Found For Lssl
This is how we solved it
Step 1:
Double-check if openssl is installed and install it if not.
Ld Library Not Found For Lssl Mac Mysql Tutorial
Step 2:
Check if you use bash/zsh/fish or whatever and identify the config file. He is using zsh on mac so the file is. So at the end of this file we added this line:
. This add the path to the openssl library to the environment variable. Now you can reload the file with
Ld Library Not Found For Lssl
Now you should be ready to install psycopg2 with pip3.