I was trying to install Redmine on rails 2.0.2 and I received the following error message: no such file to load -- openssl I went to /ruby-1.8.6/ext/openssl and typed make and received the following error message: make: Nothing to be done for `all''. My question is: How can I install or enable openssl for ruby 1.8.6 in order to complete my install for rails. Thank you! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 3 Jul 2008, at 03:29, Jason Bornhoft wrote:> > I was trying to install Redmine on rails 2.0.2 and I received the > following error message: > > no such file to load -- openssl > > I went to /ruby-1.8.6/ext/openssl and typed make and received the > following error message: > > make: Nothing to be done for `all''. > >Have you run make install It might be worth trying it from scratch: ruby extconf.rb make clean make make install Fred> My question is: How can I install or enable openssl for ruby 1.8.6 in > order to complete my install for rails. > > Thank you! > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:> On 3 Jul 2008, at 03:29, Jason Bornhoft wrote: > >> >> > Have you run > make install > > It might be worth trying it from scratch: > > ruby extconf.rb > make clean > make > make install > > FredThank you for your reply. here is what happened: [root@qtsfo148 openssl]# ruby extconf.rb === OpenSSL for Ruby configurator ===== Checking for system dependent stuff... ==checking for t_open() in -lnsl... no checking for socket() in -lsocket... no checking for assert.h... yes === Checking for required stuff... ==checking for openssl/ssl.h... no === Checking for required stuff failed. ==Makefile wasn''t created. Fix the errors above. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 3 Jul 2008, at 14:31, Jason Bornhoft wrote:> > Frederick Cheung wrote: >> On 3 Jul 2008, at 03:29, Jason Bornhoft wrote: >> >>> >>> >> Have you run >> make install >> >> It might be worth trying it from scratch: >> >> ruby extconf.rb >> make clean >> make >> make install >> >> Fred > > Thank you for your reply. > > here is what happened: >Sounds like you either don''t have the development stuff for openssl (may be in a separate package) or it''s somewhere that extconf.rb couldn''t find. You might to pass --with-openssl-include and --with- openssl-lib options to tell it where openssl is. Fred> [root@qtsfo148 openssl]# ruby extconf.rb > === OpenSSL for Ruby configurator ==> === Checking for system dependent stuff... ==> checking for t_open() in -lnsl... no > checking for socket() in -lsocket... no > checking for assert.h... yes > === Checking for required stuff... ==> checking for openssl/ssl.h... no > === Checking for required stuff failed. ==> Makefile wasn''t created. Fix the errors above. > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:> On 3 Jul 2008, at 14:31, Jason Bornhoft wrote: > >>> >> > Sounds like you either don''t have the development stuff for openssl > (may be in a separate package) or it''s somewhere that extconf.rb > couldn''t find. You might to pass --with-openssl-include and --with- > openssl-lib options to tell it where openssl is. > > FredProblem solved! For anyone else with the same issue... here is what i did: install openssl: ./config --prefix=/usr/local --openssldir=/usr/local/ssl make make test make install (as root) ./config shared --prefix=/usr/local --openssldir=/usr/local/ssl make clean make make install (as root) cd /usr/local/ssl/lib cp * /usr/lib To avoid getting the following error later when you compile OpenSSH: configure: error: Your OpenSSL headers do not match your library copy all the SSL include files everywhere: cd /home/tjnelson/openssl/openssl-* cd include/openssl cp * /usr/include cp * /usr/local/ssl/include cp * /usr/local/ssl/include/openssl and then add /usr/local/ssl/lib to /etc/ld.so.conf and type ldconfig Then i returned to ruby-*/ext/openssl and ran: ruby extconf.rb make clean make make install worked like a charm!!! thanks for all of your help -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Reasonably Related Threads
- Building Ruby on Solaris 10 with OpenSSL, for Rails... problem
- Apache HOW-TO?
- [LLVMdev] LLVM-ar and openssl
- Rails & OpenSSL: `require_frameworks': no such file to load
- ** PLEASE HELP A NEWBIE ** Status: 500 Internal Server Error no such file to load -- mysql