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.

  • Sohail9689 commented on Oct 24, 2019. Go to this site to download the package according to the python version. And use pip install filename. Like i have python 3.7.1 and download the file in red circle and open terminal where file downloaded and install that file e.g pip install mysqlclient-1.4.4-cp37-cp37m-win32.whl.
  • Similar questions were found: ld: library not found for -lssl InSee content 2 I can know that I need to install it.openssl: brew install 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.

Solve the problem of pip installation mysqlclient failure on mac os

Systematic overview:

  1. mac os mojave 10.14.5
  2. python 2.7 virtualenvwrapper
  3. pip 2 virtualenvwrapper

First attempt:

After many attempts at search results on google, it can't be solved. The toilet looked at mysqlclient's documentation https://pypi.org/project/mysqlclient/ There are hints in the document:

Try pip install mysqlclient again or make an error, but this error is different, as follows:

Search keywords again
pip install mysqlclient mac
Find this blog post. pipenv install mysqlclient on MacOSX - Shan Dou - Medium Referring to the blogger's operation, the correct method is obtained:

The Right Way

Before that, make sure you install mysql-connector-c. The installation of mysql-connector-c is available for reference: mysqlclient · PyPI

The following results are obtained:

Then perform the following operations:

Posted on Thu, 10 Oct 2019 17:16:36 -0400 by Daveyz1983

Install Python MySQLClient on M1 Mac

tags: pythonmacm1mysqlclientmysql

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

Ld library not found for lssl mysql server

Installation process

The installation command:

Installmysqlclient The following problem will appear:

Library

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:

PassSee content 1Know that I need to installzstd

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:

Ld library not found for lssl mysql database

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...

Ld library not found for lsslFound

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

M1 chip mac install office

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...

Ld Library Not Found For Lssl Mysql Command

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...

Ld Library Not Found For Lssl Mysql Server

Mac, M1 how to install Maven

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...