Created
May 26, 2016 10:33
-
-
Save anonymous/d6750ddcd140cded057ad002f35e837f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p1030@p1030:~/rails/redmine$ gem install mysql2 -v '0.3.21' | |
Building native extensions. This could take a while... | |
ERROR: Error installing mysql2: | |
ERROR: Failed to build gem native extension. | |
/home/.rvm/rubies/ruby-2.2.0/bin/ruby extconf.rb | |
checking for ruby/thread.h... yes | |
checking for rb_thread_call_without_gvl() in ruby/thread.h... yes | |
checking for rb_thread_blocking_region()... no | |
checking for rb_wait_for_single_fd()... yes | |
checking for rb_hash_dup()... yes | |
checking for rb_intern3()... yes | |
----- | |
Using mysql_config at /usr/bin/mysql_config | |
----- | |
checking for mysql.h... yes | |
checking for errmsg.h... yes | |
checking for mysqld_error.h... yes | |
----- | |
Setting libpath to /usr/lib/mysql | |
----- | |
creating Makefile | |
make "DESTDIR=" clean | |
make "DESTDIR=" | |
compiling mysql2_ext.c | |
compiling result.c | |
result.c: In function 'msec_char_to_uint': | |
result.c:189:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
compiling infile.c | |
compiling client.c | |
linking shared-object mysql2/mysql2.so | |
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libmysqlclient_r.so when searching for -lmysqlclient_r | |
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libmysqlclient_r.a when searching for -lmysqlclient_r | |
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libmysqlclient_r.so when searching for -lmysqlclient_r | |
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libmysqlclient_r.a when searching for -lmysqlclient_r | |
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../libmysqlclient_r.so when searching for -lmysqlclient_r | |
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../libmysqlclient_r.a when searching for -lmysqlclient_r | |
/usr/bin/ld: skipping incompatible /usr/lib/libmysqlclient_r.so when searching for -lmysqlclient_r | |
/usr/bin/ld: skipping incompatible /usr/lib/libmysqlclient_r.a when searching for -lmysqlclient_r | |
/usr/bin/ld: cannot find -lmysqlclient_r | |
collect2: error: ld returned 1 exit status | |
make: *** [mysql2.so] Error 1 | |
make failed, exit code 2 | |
Gem files will remain installed in /home/.rvm/gems/ruby-2.2.0/gems/mysql2-0.3.21 for inspection. | |
Results logged to /home/.rvm/gems/ruby-2.2.0/extensions/x86_64-linux/2.2.0/mysql2-0.3.21/gem_make.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment