-2

I'm using Elementary OS and I tried to install Dradis Framework.

I followed all the steps and add some others (for example I installed Ruby 2.5.1p57) and when I ran ./setup inside dradis-ce/bin. Everything looks OK until a error message appears:

An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue.
Make sure that `gem install mysql2 -v '0.5.2' --source 'https://rubygems.org/'` succeeds before bundling.

So I ran gem install mysql12 -v '0.5.2' and the mesage console was

can't find -ssl- lss-

I've already installed build-essential and it didn't work. I've installed MySQL Ver 14.14 Distrib 5.7.28 and nothing happened.

3
  • Try installing the libssl-dev package. It generally provides -lssl and -lcrypto per this post: stackoverflow.com/questions/25979525/… Commented Jan 3, 2020 at 2:51
  • Amazing man it worked. Sorry I'm a newbie with this and I spent 3 hours looking for solutions. Thank u some much Commented Jan 3, 2020 at 2:58
  • Welcome to SO! An image of an error is not an acceptable substitute for the actual text. SO doesn't block sharing errors as text. See "I downvoted because an image of your exception isn't helpful", then edit the question and put the text into it, formatted correctly, without "edited" or "updated" tags. By doing so you're helping others solve the same problem. Commented Jan 3, 2020 at 6:49

1 Answer 1

0

The -lssl and -lcrypto options are provided by the libssl-dev package on Ubuntu/Debian and Ubuntu-like systems.

Once you install the libssl-dev package you should be able to install the MySQL2 gem.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.