Ld Library Not Found For Lssl Mac Mysql

  1. Ld Library Not Found For Lssl Mac Mysql Download

Make sure openssl is installed on Mac via Homebrew. Brew install openssl Install mysql2 gem. This helped me when the gem install kept on errorring out about not being able to find the mysql client. I modified @AnshulRiyal's command a little: On Mojave, High Sierra, or Catalina, using homebrew. Fixed my ld: library not found for -lssl. Both errors are related to the OpenSSL development libraries not being installed ( -lssl is a pretty dead giveway). The -lssl can be divided into -l, meaning 'link with', and ssl, which is the desired library gcc is asked to link in. Usually, the file to link in is named lib.a and it needs the headers. The file and headers are in the dev (Debian-based) or devel. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party. Contact Sales USA/Canada: +1-866-221-0634 ( More Countries » ). #externals - Opening PHP's #internals to the outside. Hi, I am compiling MariaDB 10.2.6 and PHP 7.1.6. I'm trying it on Debian 8.8 32x / x64 on DigitalOcean. 解决库移位出现的 ld: library not found for -lXXX. 在Pod里,有个第三方库不更新了,但是里面的警告挺多的,开发组老大让我把它单独挪出来,把警告处理掉,期间遇到了一个坑,于是就有了这篇文章。 如约,Pods工程目录下,把Posfile里的那个库注释掉,然后: pod install.

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

I’ve come across this error several times throughout my development career so I figured it was finally time to write it down.

Library

Scenario

Whenever I try to install certain versions of the mysql2 gem in a Ruby on Rails application, I get the following error:

Solution

Ld library not found for lssl

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!

Ld Library Not Found For Lssl Mac Mysql Download

View All Articles