I am getting the following error when I tried to install the gems using the script provided by OpenNebula.
an error occurred while installing mysql2 (0.5.2), and Bunlder cannot continue.
Make sure that 'gem install mysql2 -v ‘0.5.2’ --source 'https://rubygems.org/’` succeeds before bundling.
Error Installing gems
I tried to install the gem manually using
gem install mysql2 -v ‘0.5.2’ --source 'https://rubygems.org/
However, I am getting the following error:
/usr/bin/ld: cannot find -lssl
/usr.bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
Makefile:258 recipe for target ‘mysql2.so’ fialed
make: *** [nysql2.so] Error 1
make failed, exit code 2