Content
configure error with packaged install
Added by Vitaliy Novosyolov over 9 years ago
installing op-ce on CentOS7.
@$ gem list
* LOCAL GEMS*
activerecord-mysql2-adapter (0.0.3)
bigdecimal (1.2.0)
bundler (1.3.1)
commander (4.1.2)
curb (0.8.5)
highline (1.6.11)
io-console (0.4.2)
json (1.7.7)
mysql2 (0.3.18)
net-http-persistent (2.8)
psych (2.0.0)
rdoc (4.0.0)
rubygems-update (2.4.8)
thor (0.17.0)@
$ sudo openproject-ce configure Launching installer for openproject-ce... Selected addons: legacy-installer mysql apache2 svn-dav smtp memcached openproject ... require 'rails/all'... 0.930s Bundler.require... /opt/openproject-ce/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.6.2/lib/nokogiri/version.rb:93:in `block in <class:VersionInfo>' : WARNING: Nokogiri was built against LibXML version 2.7.6, but has dynamically loaded 2.9.1 (StandardWarning) 3.840s DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /opt/openproject-ce/Rakefile:35) DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /opt/openproject-ce/Rakefile:35) Application.initialize!... rake aborted! LoadError: Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory - /opt/openproject-ce/vendor/bundle/ruby/2.1.0/extensions/x86_64-linux/2.1.0-static/mysql2-0.3.17/mysql2/mysql2.so) ... LoadError: libmysqlclient_r.so.16: cannot open shared object file: No such file or directory - /opt/openproject-ce/vendor/bundle/ruby/2.1.0/extensions/x86_64-linux/2.1.0-static/mysql2-0.3.17/mysql2/mysql2.so ... Tasks: TOP => db:migrate => environment (See full trace by running task with --trace) require 'rails/all'... 0.970s Bundler.require... /opt/openproject-ce/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.6.2/lib/nokogiri/version.rb:93:in `block in <class:VersionInfo>' : WARNING: Nokogiri was built against LibXML version 2.7.6, but has dynamically loaded 2.9.1 (StandardWarning) 3.840s DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /opt/openproject-ce/Rakefile:35) DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /opt/openproject-ce/Rakefile:35) Application.initialize!... rake aborted! LoadError: Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory - /opt/openproject-ce/vendor/bundle/ruby/2.1.0/extensions/x86_64-linux/2.1.0-static/mysql2-0.3.17/mysql2/mysql2.so) ... LoadError: libmysqlclient_r.so.16: cannot open shared object file: No such file or directory - /opt/openproject-ce/vendor/bundle/ruby/2.1.0/extensions/x86_64-linux/2.1.0-static/mysql2-0.3.17/mysql2/mysql2.so ... Tasks: TOP => setting:set => environment (See full trace by running task with --trace) $ ls /opt/openproject-ce/vendor/bundle/ruby/2.1.0/extensions/x86_64-linux/2.1.0-static/mysql2-0.3.17/mysql2/ mysql2.so
and nothing else. what can i do with gem mysql2? or anithyng else? what do i do wrong?