Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Installation Error with Ruby/mySQL?

Installation Error with Ruby/mySQL?

Added by Curtis Fuller over 6 years ago

Greetings. I'm new at this -- I have PHP experience, but have never done anything with Ruby before.  I'm running Amazon Linux on AWS EC2 and have installed OpenProject.  I've configured it to reuse a database I set up on a separate AWS RDS mySQL server.  I believe it is connecting to the server correctly, because one of the time I retried I typed the password wrong and it told me there was a connection error... so if I don't get the error other times I'm assuming it is connecting.  But after I run the openproject configure tool I get the following: 

[openproject] ./bin/configure 
[legacy-installer] ./bin/preinstall 
[mysql] ./bin/preinstall 
[apache2] ./bin/preinstall 
[repositories] ./bin/preinstall 
[smtp] ./bin/preinstall 
[memcached] ./bin/preinstall 
No memcached server to install. Skipping. 
[openproject] ./bin/preinstall 
[legacy-installer] ./bin/postinstall 
[mysql] ./bin/postinstall 
Generating /etc/openproject/conf.d/database... 
[apache2] ./bin/postinstall 
[repositories] ./bin/postinstall 
No repositories have been configured. Skipping configuration. 
[smtp] ./bin/postinstall 
[memcached] ./bin/postinstall 
[openproject] ./bin/postinstall 
/opt/openproject/vendor/bundle/ruby/2.5.0/bin/rake db:migrate db:seed packager:postinstall: relocation error: /opt/openproject/vendor/bundle/ruby/2.5.0/gems/mysql2-0.5.1/lib/mysql2/mysql2.so: symbol mysql_server_init, version libmysqlclient_18 not defined in file libmysqlclient.so.18 with link time reference

The error looks like it has something to do with Ruby/mySQL but I don't really understand this. 

Also, after this runs, I've tried to do sudo openproject run console and I get a very similar error: 

ruby: relocation error: /opt/openproject/vendor/bundle/ruby/2.5.0/gems/mysql2-0.5.1/lib/mysql2/mysql2.so: symbol mysql_server_init, version libmysqlclient_18 not defined in file libmysqlclient.so.18 with link time reference 
You have new mail in /var/spool/mail/ec2-user 

Please help. 

Thanks!


Replies (1)

RE: Installation Error with Ruby/mySQL? - Added by mauro lopez over 6 years ago

Did you manage to solve this? I'm experiencing the same issue

  • (1 - 1/1)
Loading...