Ld Library Not Found For Lssl Mysql

※(私の環境にはmysql@5.6入ってなかったので)結局のところmysql@5.6を入れれば解決したのかも。 なのだけど、わたしがいったんコケを解消した方法はmysql2の下記のissueにあった方法。 ld: library not found for -lssl after Mac OS Sierra upgrade #795. New macOS Big Sur return 'ld: library not found for -lSystem' Jump to solution. I update the newest macOS Big Sur version. But the intel fortran does not work.

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

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 Articles

Install Python MySQLClient on M1 Mac

tags: pythonmacm1mysqlclientmysql

Ld Library Not Found For Lssl Mysql

The following records how to solve the installation Python on the M1 Macmysqlclient Failure problem.

Installation process

The installation command:

Found

Installmysqlclient The following problem will appear:

This problem can be installed locallymysql To resolve:

According to the first installation failure, the second installation is performed:

Then try installingmysqlclient The following problems occurred again:

Command

PassSee content 1Know that I need to installzstd

Ld library not found for lssl mysql database

Finishzstd Try installationmysqlclient, But still that errorld: library not found for -lThen bySee content 2 I know that I can passenv Set the environment variable to specify the location of the dependency library:

Similar questions were found:

InSee content 2 I can know that I need to install it.openssl

In confirmation already installedopenssl After, try to installmysqlclientI found that the problem is still not solved, then pass it againenv Set upopenssl Dependent library location:

It is successfully installed here.mysqlclient

Reference

Intelligent Recommendation

Recently encountered a problem, mysqlclient library cannot be installed on Windows10 Python At this time, you need to download the .whl file for installation. First go to this website to download the ...

Python compile and install mysqlclient

After the local database is changed to MariaDB, Python uses mysqlclient to connect to the database. solve https://exiz.org/20171211141362...

Install mysqlclient To enable python to operate mysql, you need MySQLdb driver, which is an indispensable module for python to operate mysql. Install using pip test The test is very simple, che...

How to install PYTHON Barcode SDK with PIP on Apple M1 Mac

DynamSoft Barcode Reader SDK A multi-function barcode read control, you can embed the barcode reading feature to the web or desktop application with only a few lines of code. This saves monthly develo...

background: Just a small white in MAC M1, installing Flask for a few days, I hope to solve your problem. The MAC comes with a Python2.7 environment, downloaded the Python 3.7 community version, so the...

More Recommendation

Ld Library Not Found For Lssl Mysql Download

M1 chip mac install office

Ld Library Not Found For Lssl Mysql Database

Xiao Bian is a fan of Apple's brains, and has been using Apple's mac system for photo editing for many years! Is a loyal mac fan. Just in November, Apple released a new Mac series based on the Apple S...

Introduction Homebrew is an excellent tool for managing software packages on Mac. It is divided into two versions: X86 architecture and ARM architecture. Because our computer is an M1 chip, we give pr...

M1 Mac Quickly Install HomeBrew

Switching terminal The terminal of M1 is -zsh There will be some other problems in installing homebrew, so it is changed here to bash. Enter Bash directly in the terminal: Download the official instal...

Mac M1 Docker Install Redis 1, redis mirror drawn, latest version of mirror Start Docker, turn on the terminal input command: Docker Pull Redis: Latest patient is waiting to take. 2, check if local mi...

Mac, M1 how to install Maven

Ld Library Not Found For Lssl Mysql

Mac Mac installation Maven 1, install maven via Homebrew Set an environment variable Method 2 Download Maven Package directly 1, install maven via Homebrew Can't find command Here, you need to configu...