I hope there will be a warrior.
I'm deploying my rails project on AWS EC2.
System type: Cent OS
ERROR:
brew install mysql
I'm using linuxbrew to install mysql but it gives me make error
I installed rvm, rails, mysql(using yum not brew)... The disaster is from now...
rails db:migrate
require': libssl.so.10: cannot open shared object file: No such file or directory - /home/ec2-user/.rvm/gems/ruby-2.5.1/gems/mysql2-0.5.2/lib/mysql2/mysql2.so (LoadError)
I wasted 3 days for this error. Please help me...
Finally, I found it. I can't sure exactly but when you install openssl using brew, the path is here:
/home/linuxbrew/.linuxbrew/lib/
So, I have to use this here
sudo ln -s libssl.so.1.0.0 libssl.so.10
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.10
Thank you all!!!!!
GOOD DAY!!!!