LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   openssl return error (http://www.linuxquestions.org/questions/linux-software-2/openssl-return-error-471675/)

android6011 08-07-2006 02:41 PM

openssl return error
 
When I try to run a certain app I get the following output:

./lib/rex/socket/ssl_tcp_server.rb:4:in `require': no such file to load -- openssl (LoadError)
from ./lib/rex/socket/ssl_tcp_server.rb:4
from ./lib/rex/socket/comm/local.rb:5
from ./lib/rex/socket.rb:22
from ./lib/rex.rb:40
from ./msfweb:11

what am I missing?

jonaskoelker 08-07-2006 06:32 PM

Please read http://catb.org/~esr/faqs/smart-questions.html and http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

Why don't you tell us which app you're running? It seems like you *deliberately* didn't tell us. If that's the case, why not? So yeah, which program is it, which version, what are its dependencies and their versions? If you're running a debian-based distro, please use reportbug to generate a bug report against the package in question and post it here. Also, it seems like you should file a `missing dependency' bug against that package.

We can ignore any useless information you post, but we can't make use of useful information you don't post. So please consider being a bit more verbose.

Oh, by the way, the message *already says* what you're missing: openssl. If I've figured out ruby (I don't write any myself), the filename is openssl.rb; apt-file might help you (on debian-based distros) in finding the right package.

android6011 08-07-2006 06:36 PM

I am using metasploit framwork 3, which does require ruby, however i did install ruby before hand

jonaskoelker 08-07-2006 07:24 PM

If you haven't read the articles I pointed you to, go read them. If you have read them, you'll know what to do and why I'm being somewhat curt.

crashsystems 05-05-2007 06:20 PM

I was having this exact same problem with framework 3, so I figured that I'd post my solution now that I've figured it out. The problem was that there were some libraries missing that msfgui needs to run. To get them on Debian sid, I ran "apt-get install libgtk2-ruby libruby-extras", and that took care of it. libgtk2-ruby contains some necessary ruby bindings for gtk, and libruby-extras contains the ruby bindings for openssl, among other things. The only problem that I'm still having is that when I do this on etch gtk is version 2.8.x.x, while msfgui needs 2.10.


All times are GMT -5. The time now is 06:26 PM.