Project

General

Profile

Error installing Redmine 1.1.0 on Solaris (SPARC)

Added by Dave Ford about 13 years ago

ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [sparc-solaris2.10]
gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.5
- RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [sparc-solaris2.10]
- INSTALLATION DIRECTORY: /apps/ruby_1.8.7_p249/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /apps/ruby_1.8.7_p249/bin/ruby
- EXECUTABLE DIRECTORY: /apps/ruby_1.8.7_p249/bin
- RUBYGEMS PLATFORMS:
- ruby
- sparc-solaris-2.10
- GEM PATHS:
- /apps/ruby_1.8.7_p249/lib/ruby/gems/1.8
- /apps/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org/

gem list

  • LOCAL GEMS ***

i18n (0.4.2)
rack (1.0.1)
rake (0.8.3)
rubygems-update (1.3.5)

Ran the following command from my staging area where I extracted the Ruby installer to add the OpenSSL libraries:
ruby extconf.rb --with-openssl-include=/usr/local/openssl/include--prefix=/apps/ruby_1.8.7_p249

When I run the following command to create the Redmine DB structure, I get an error:
rake db:migrate RAILS_ENV="production"

Here is the error stack:

rake db:migrate RAILS_ENV="production" --trace
(in /apps/asdw/redmine-1.1.0)
  • Invoke db:migrate (first_time)
  • Invoke environment (first_time)
  • Execute environment
    rake aborted!
    ld.so.1: ruby: fatal: relocation error: file /apps/asdw/ruby_1.8.7_p249/lib/ruby/site_ruby/1.8/sparc-solaris2.10/openssl.so: symbol EC_GROUP_new_curve_GFp: referenced symbol not found - /apps/asdw/ruby_1.8.7_p249/lib/ruby/site_ruby/1.8/sparc-solaris2.10/openssl.so
    /apps/asdw/redmine-1.1.0/config/../vendor/rails/railties/lib/initializer.rb:271:in `require_frameworks'
    /apps/asdw/redmine-1.1.0/config/../vendor/rails/railties/lib/initializer.rb:134:in `process'
    /apps/asdw/redmine-1.1.0/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
    /apps/asdw/redmine-1.1.0/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
    /apps/asdw/redmine-1.1.0/config/environment.rb:20
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    /apps/asdw/redmine-1.1.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
    /apps/asdw/redmine-1.1.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
    /apps/asdw/redmine-1.1.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
    /apps/asdw/redmine-1.1.0/vendor/rails/railties/lib/tasks/misc.rake:4
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `execute'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in `invoke_with_call_chain'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in `invoke_with_call_chain'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in `invoke_prerequisites'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `each'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `invoke_prerequisites'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:577:in `invoke_with_call_chain'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in `invoke_with_call_chain'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in `invoke'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in `invoke_task'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `each'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in `top_level'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'
    /apps/asdw/ruby_1.8.7_p249/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31
    /apps/asdw/ruby_1.8.7_p249/bin/rake:19:in `load'
    /apps/asdw/ruby_1.8.7_p249/bin/rake:19

All I can tell you is that the file (/apps/asdw/ruby_1.8.7_p249/lib/ruby/site_ruby/1.8/sparc-solaris2.10/openssl.so) is actually there, and the user I'm logged in as can access the file. Outside of that, I don't have a clue. Any ideas?

Thanks,
Dave