Hi list, Frist of all, I'm very sorry if I bother you all with *another* post on using openssl, but I'm really tearibng my hair off since a number of weeks... As the subject says, I'm runnint CentOS5, I've installed ruby 1.8.6 with no particular issue. Rubygems is also installed, with no particular message. When i try to run the an appication developed with ruby, I get the following: [root@wac-srv-pent-03 metasploit]# ./msfweb ./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:in `require' from ./lib/rex/socket/comm/local.rb:5 from ./lib/rex/socket.rb:22:in `require' from ./lib/rex/socket.rb:22 from ./lib/rex.rb:71:in `require' from ./lib/rex.rb:71 from ./lib/msf/core.rb:16:in `require' from ./lib/msf/core.rb:16 from ./lib/msf/base.rb:19:in `require' from ./lib/msf/base.rb:19 from ./msfweb:11:in `require' from ./msfweb:11 [root@wac-srv-pent-03 metasploit]# On the CentOS box, the following libs are installed: openssl 0.9.8b-8.3 openssl-devel 0.9.8b-8.3 openssl-perl 0.9.8b-8.3 openssl097a 0.9.7a-9 I have seen on several posts that I should install libopenssl-ruby1.8, but I can't locate a version that would run on CentOS. Help please !! BTW: I'm not a developer, just a basic user of an application developed with ruby... please don't shoot at sight if the solution appears to be dead simple to you guys ....
on 2007-07-15 18:20
on 2007-07-15 21:15
Patrick Derwael wrote: > When i try to run the an appication developed with ruby, I get the > from ./lib/rex.rb:71:in `require' > On the CentOS box, the following libs are installed: > BTW: I'm not a developer, just a basic user of an application developed > with ruby... please don't shoot at sight if the solution appears to be > dead simple to you guys .... > CentOS system administration, like its Red Hat Enterprise Linux parent, is *extremely* tricky when you mix packages between what's on the *official* release media and RPMs or source obtained elsewhere. The packages on the official release media are tested together and work together. Moreover, they are updated with security fixes, bug fixes and enhancements automatically. In short, CentOS/RHEL is a *product*. I maintain a CentOS 5 / PostgreSQL box and I'm continually wasting time looking for RPMs, installing packages that I absolutely "must" have, etc. In all likelihood, you will be better off *not* doing that, and I've pretty much come to the same conclusion for myself. It's a time sink with no *obvious* payoff in business results. To paraphrase Garrison Keillor, "If it isn't on the release media, you can probably live without it." What I would recommend, therefore, is that you switch to a more flexible and "bleeding edge" distro. In your case, since you're used to CentOS, I'd recommend Fedora 7. Other good ones are Ubuntu, openSuSE, Debian and Gentoo. That way you can run the latest Ruby, openssl, etc., and have some confidence that things work together and that you'll be able to get help on the Fedora community forum network when they don't.
on 2007-07-16 12:27
M. Edward (Ed) Borasky wrote: > > What I would recommend, therefore, is that you switch to a more flexible > and "bleeding edge" distro. In your case, since you're used to CentOS, > I'd recommend Fedora 7. Well, to be honest, I have just been through the exercice of choosing another distro... I have been using RedHat for a number of years, and decided NOT to follow to RedHat5. Fedora came immediately to mind, but... I need Linux to run a number of tools (as end-user) under VMware. As this is is due to be production, the pre-requisites are quality and stability (performance is not an issue and I build flexibility into VM) This is exactly how I came to CentOS. I have spent a significant amount of time installing/configuring/fine tuning it, and was just trying to get the latest tool installed before moving the VM to production. What you are now saying is "throw it all away and start again". Hard to admit to say the least, but I guess this is the best way to go... I suppose I will put CentOS on hold and give a try to FC7
on 2007-07-16 21:09
Patrick Derwael wrote: > Fedora came immediately to mind, but... > I suppose I will put CentOS on hold and give a try to FC7 Or stay with CentOS 5 and use the Ruby that ships with it, unless there's some other reason not to do so. If stability is the prime directive, I don't see any reason why the Ruby on CentOS 5 won't work. I think it's 1.8.5. Does the CentOS openssl not work with the CentOS Ruby?