When I installed dlib, a python face recognition library, via brew, all openssl series were upgraded to 1.1.1 series, and when I used require in gem or ruby, I got the following error.

Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

I get this error quite a bit, so I’ll leave this as a reminder.


As a workaround, I reinstalled it with rbenv and that fixed it.

rbenv uninstall 2.6.2 && rbenv install 2.6.2

Openssl is now 1.1.1, so it looks like the SSL system was reworked during the reinstallation.

Reference sites


It’s pretty tough when these parts take up so much of your time, tears.