Content
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)
Did you manage to solve this? I'm experiencing the same issue