jukkai_fi
2009-Jan-04 16:39 UTC
Ruby/RoR problem, openssl.so, undefined symbol, update ruby 1.8.7->1.9.1
Env: SUSE LINUX 10.1 (X86-64) with Ruby 1.8.7-p72, RoR I can get welcome screen, but after that always get Memory Fault Then I installed current stable ruby 1.8.7 (2008-12-29 revision 0) [x86_64-linux] ruby: symbol lookup error: /usr/local/lib/ruby/1.8/x86_64-linux/ openssl.so: undefined symbol: EVP_MD_CTX_md I founded some ssl.rb test, it give: ruby: symbol lookup error: /usr/local/lib/ruby/1.8/x86_64-linux/ openssl.so: undefined symbol: EVP_CIPHER_CTX_cipher I also installed http://www.rubyenterpriseedition.com/download.html same error Then installed snapshot ruby 1.9.1 (2009-01-04 patchlevel-5000 trunk 21288) [x86_64-linux] same problem ... I''m real newbie with Ruby/RoR, this was my 1st install (trying) to create RoR environment. After this I updated RoR gem install -v=2.2.2 rails Then rest was ...#)&% rails new rails/new>script/server /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:153:in `require'': no such file to load -- test/unit/error (MissingSourceFile) from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ lib/active_support/dependencies.rb:153:in `block in require'' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ lib/active_support/dependencies.rb:521:in `new_constants_in'' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ lib/active_support/dependencies.rb:153:in `require'' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ lib/active_support/deprecation.rb:224:in `<top (required)>'' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ lib/active_support/dependencies.rb:153:in `require'' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ lib/active_support/dependencies.rb:153:in `block in require'' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ lib/active_support/dependencies.rb:521:in `new_constants_in'' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ lib/active_support/dependencies.rb:153:in `require'' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ lib/active_support.rb:37:in `<top (required)>'' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.2.2/lib/ commands/server.rb:1:in `require'' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.2.2/lib/ commands/server.rb:1:in `<top (required)>'' from script/server:3:in `require'' from script/server:3:in `<main>'' Somebody said for me that RoR is nice, maybe ? But heavy job put to work. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
吴乐
2009-Jan-04 17:21 UTC
Re: Ruby/RoR problem, openssl.so, undefined symbol, update ruby 1.8.7->1.9.1
ROR is great! look more informations about how to install rails......see the following link http://wiki.rubyonrails.com/rails/pages/HowtosInstallation On Mon, Jan 5, 2009 at 12:39 AM, jukkai_fi <ksh.mylanguage-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Env: SUSE LINUX 10.1 (X86-64) > > with Ruby 1.8.7-p72, RoR > I can get welcome screen, but after that always get > Memory Fault > > Then I installed current stable > ruby 1.8.7 (2008-12-29 revision 0) [x86_64-linux] > ruby: symbol lookup error: /usr/local/lib/ruby/1.8/x86_64-linux/ > openssl.so: undefined symbol: EVP_MD_CTX_md > I founded some ssl.rb test, it give: > ruby: symbol lookup error: /usr/local/lib/ruby/1.8/x86_64-linux/ > openssl.so: undefined symbol: EVP_CIPHER_CTX_cipher > > I also installed > http://www.rubyenterpriseedition.com/download.html > same error > > Then installed snapshot > ruby 1.9.1 (2009-01-04 patchlevel-5000 trunk 21288) [x86_64-linux] > same problem ... > > I''m real newbie with Ruby/RoR, this was my 1st install (trying) to > create RoR environment. > > After this I updated RoR > gem install -v=2.2.2 rails > > Then rest was ...#)&% > > rails new > rails/new>script/server > /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/ > active_support/dependencies.rb:153:in `require'': no such file to load > -- test/unit/error (MissingSourceFile) > from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ > lib/active_support/dependencies.rb:153:in `block in require'' > from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ > lib/active_support/dependencies.rb:521:in `new_constants_in'' > from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ > lib/active_support/dependencies.rb:153:in `require'' > from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ > lib/active_support/deprecation.rb:224:in `<top (required)>'' > from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ > lib/active_support/dependencies.rb:153:in `require'' > from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ > lib/active_support/dependencies.rb:153:in `block in require'' > from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ > lib/active_support/dependencies.rb:521:in `new_constants_in'' > from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ > lib/active_support/dependencies.rb:153:in `require'' > from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/ > lib/active_support.rb:37:in `<top (required)>'' > from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.2.2/lib/ > commands/server.rb:1:in `require'' > from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.2.2/lib/ > commands/server.rb:1:in `<top (required)>'' > from script/server:3:in `require'' > from script/server:3:in `<main>'' > > > > Somebody said for me that RoR is nice, maybe ? But heavy job put to > work. > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
James Byrne
2009-Jan-04 18:22 UTC
Re: Ruby/RoR problem, openssl.so, undefined symbol, update ruby 1.8.7->1.9.1
jukkai_fi wrote:> Env: SUSE LINUX 10.1 (X86-64) > > with Ruby 1.8.7-p72, RoR > I can get welcome screen, but after that always get > Memory Fault > > Then I installed current stable > ruby 1.8.7 (2008-12-29 revision 0) [x86_64-linux] > ruby: symbol lookup error: /usr/local/lib/ruby/1.8/x86_64-linux/ > openssl.so: undefined symbol: EVP_MD_CTX_md > I founded some ssl.rb test, it give: > ruby: symbol lookup error: /usr/local/lib/ruby/1.8/x86_64-linux/ > openssl.so: undefined symbol: EVP_CIPHER_CTX_cipherYour problem is that the openssl library installed on your system is too old. Update that to the latest version and this problem should go away. -- 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 -~----------~----~----~----~------~----~------~--~---
jukkai_fi
2009-Jan-05 17:53 UTC
Re: Ruby/RoR problem, openssl.so, undefined symbol, update ruby 1.8.7->1.9.1
> > Your problem is that the openssl library installed on your system is too > old. Update that to the latest version and this problem should go away.This was "interesting process" - I hate some distros ..., Suse 10.1 is one of those I updated Suse openssl using ftp://mirrors.kernel.org/suse/x86_64/update/10.2/rpm/x86_64/ - openssl is about one year old, still same problem with 1.8.7-p72 - then I install also ruby and ruby-dev from suse site ftp://mirrors.kernel.org/suse/x86_64/update/10.2/rpm/x86_64/ - it''s 1.8.5, but my ssl.rb test works I also tried openssl using source, but ruby making say something about "use -fPIC flag compiling openssl .." I was used ... Now I have some working ruby + RoR environment, even little old. Maybe this is enough for me to test RoR possibilities. I tested also blog, using db postgreSql 8.3.5 - works fine, but encoding set not work ... active_record pg not use database.yum encoding setting ? - edited manually /usr/lib64/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ connection_adapters utf8 -> latin1 and now it works ... I think that if your pg instance has created latin1, then database must be also latin1. Ex. sorting and indexing use instance character set and locales Ex. I have created using --locale=fi_FI --lc-collate=sv_SE initdb -E LATIN1 --locale=fi_FI --lc-collate=sv_SE http://guides.rubyonrails.org/getting_started_with_rails.htm was the most helpful for me to create RoR env and first servers. -jukka- --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---