Last active
January 2, 2016 09:49
-
-
Save AntelopeSalad/8285590 to your computer and use it in GitHub Desktop.
postgres 9.3.2
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
** [out :: 192.168.1.9:40402] Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] /opt/ruby-210/bin/ruby extconf.rb | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] checking for pg_config... yes | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] Using config values from /usr/bin/pg_config | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] checking for libpq-fe.h... yes | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] checking for libpq/libpq-fs.h... yes | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] checking for pg_config_manual.h... yes | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] checking for PQconnectdb() in -lpq... no | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] checking for PQconnectdb() in -llibpq... no | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] checking for PQconnectdb() in -lms/libpq... no | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] Can't find the PostgreSQL client library (libpq) | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] *** extconf.rb failed *** | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] Could not create Makefile due to some reason, probably lack of necessary | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] libraries and/or headers. Check the mkmf.log file for more details. You may | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] need configuration options. | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] Provided configuration options: | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] --with-opt-dir | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] --with-opt-include | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] --without-opt-include=${opt-dir}/include | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] --with-opt-lib | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] --without-opt-lib=${opt-dir}/lib | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] --with-make-prog | |
** [out :: 192.168.1.9:40402] --without-make-prog | |
** [out :: 192.168.1.9:40402] --srcdir=. | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] --curdir | |
** [out :: 192.168.1.9:40402] --ruby=/opt/ruby-210/bin/ruby | |
** [out :: 192.168.1.9:40402] --with-pg | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] --without-pg | |
** [out :: 192.168.1.9:40402] --with-pg-config | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] --without-pg-config | |
** [out :: 192.168.1.9:40402] --with-pg_config | |
** [out :: 192.168.1.9:40402] --without-pg_config | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] --with-pg-dir | |
** [out :: 192.168.1.9:40402] --without-pg-dir | |
** [out :: 192.168.1.9:40402] --with-pg-include | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] --without-pg-include=${pg-dir}/include | |
** [out :: 192.168.1.9:40402] --with-pg-lib | |
** [out :: 192.168.1.9:40402] --without-pg-lib=${pg-dir}/lib | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] --with-pqlib | |
** [out :: 192.168.1.9:40402] --without-pqlib | |
** [out :: 192.168.1.9:40402] --with-libpqlib | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] --without-libpqlib | |
** [out :: 192.168.1.9:40402] --with-ms/libpqlib | |
** [out :: 192.168.1.9:40402] --without-ms/libpqlib | |
** [out :: 192.168.1.9:40402] | |
** [out :: 192.168.1.9:40402] extconf failed, exit code 1 |
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
find_executable: checking for pg_config... -------------------- yes | |
-------------------- | |
find_header: checking for libpq-fe.h... -------------------- yes | |
"gcc -o conftest -I/opt/ruby-210/embedded/include/ruby-2.1.0/i686-linux -I/opt/ruby-210/embedded/include/ruby-2.1.0/ruby/backward -I/opt/ruby-210/embedded/include/ruby-2.1.0 -I. -I/usr/include/postgresql -I/opt/ruby-210/embedded/include -D_FILE_OFFSET_BITS=64 -I/opt/ruby-210/embedded/include -O3 -g -pipe -fPIC conftest.c -L. -L/opt/ruby-210/embedded/lib -Wl,-R/opt/ruby-210/embedded/lib -L/usr/lib -Wl,-R/usr/lib -L/opt/ruby-210/embedded/lib -Wl,-R/opt/ruby-210/embedded/lib -L. -Wl,-rpath,/opt/ruby-210/embedded/lib -L/opt/ruby-210/embedded/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/opt/ruby-210/embedded/lib -L/opt/ruby-210/embedded/lib -lruby -lpthread -lrt -ldl -lcrypt -lm -lc" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main(int argc, char **argv) | |
4: { | |
5: return 0; | |
6: } | |
/* end */ | |
"gcc -E -I/opt/ruby-210/embedded/include/ruby-2.1.0/i686-linux -I/opt/ruby-210/embedded/include/ruby-2.1.0/ruby/backward -I/opt/ruby-210/embedded/include/ruby-2.1.0 -I. -I/usr/include/postgresql -I/opt/ruby-210/embedded/include -D_FILE_OFFSET_BITS=64 -I/opt/ruby-210/embedded/include -O3 -g -pipe -fPIC conftest.c -o conftest.i" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <libpq-fe.h> | |
/* end */ | |
-------------------- | |
find_header: checking for libpq/libpq-fs.h... -------------------- yes | |
"gcc -E -I/opt/ruby-210/embedded/include/ruby-2.1.0/i686-linux -I/opt/ruby-210/embedded/include/ruby-2.1.0/ruby/backward -I/opt/ruby-210/embedded/include/ruby-2.1.0 -I. -I/usr/include/postgresql -I/opt/ruby-210/embedded/include -D_FILE_OFFSET_BITS=64 -I/opt/ruby-210/embedded/include -O3 -g -pipe -fPIC conftest.c -o conftest.i" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <libpq/libpq-fs.h> | |
/* end */ | |
-------------------- | |
find_header: checking for pg_config_manual.h... -------------------- yes | |
"gcc -E -I/opt/ruby-210/embedded/include/ruby-2.1.0/i686-linux -I/opt/ruby-210/embedded/include/ruby-2.1.0/ruby/backward -I/opt/ruby-210/embedded/include/ruby-2.1.0 -I. -I/usr/include/postgresql -I/opt/ruby-210/embedded/include -D_FILE_OFFSET_BITS=64 -I/opt/ruby-210/embedded/include -O3 -g -pipe -fPIC conftest.c -o conftest.i" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <pg_config_manual.h> | |
/* end */ | |
-------------------- | |
have_library: checking for PQconnectdb() in -lpq... -------------------- no | |
"gcc -o conftest -I/opt/ruby-210/embedded/include/ruby-2.1.0/i686-linux -I/opt/ruby-210/embedded/include/ruby-2.1.0/ruby/backward -I/opt/ruby-210/embedded/include/ruby-2.1.0 -I. -I/usr/include/postgresql -I/opt/ruby-210/embedded/include -D_FILE_OFFSET_BITS=64 -I/opt/ruby-210/embedded/include -O3 -g -pipe -fPIC conftest.c -L. -L/opt/ruby-210/embedded/lib -Wl,-R/opt/ruby-210/embedded/lib -L/usr/lib -Wl,-R/usr/lib -L/opt/ruby-210/embedded/lib -Wl,-R/opt/ruby-210/embedded/lib -L. -Wl,-rpath,/opt/ruby-210/embedded/lib -L/opt/ruby-210/embedded/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/opt/ruby-210/embedded/lib -L/opt/ruby-210/embedded/lib -lruby -lpq -lpthread -lrt -ldl -lcrypt -lm -lc" | |
/usr/lib/libpq.so: undefined reference to `SSL_CTX_use_certificate_chain_file@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_write@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_set_fd@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_use_PrivateKey_file@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `CRYPTO_set_locking_callback@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `X509_NAME_get_text_by_NID@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_connect@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `ENGINE_init@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `X509_STORE_load_locations@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_CTX_get_cert_store@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_ctrl@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_free@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_library_init@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_CTX_ctrl@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `ERR_get_error@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_pending@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `ENGINE_free@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `X509_get_subject_name@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_use_certificate_file@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_check_private_key@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_load_error_strings@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `ENGINE_by_id@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_get_peer_certificate@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_CTX_new@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `CRYPTO_num_locks@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `ENGINE_load_private_key@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `ENGINE_finish@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_set_verify@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `X509_free@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `CRYPTO_set_id_callback@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_get_error@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_new@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_shutdown@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_use_PrivateKey@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `TLSv1_method@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `X509_STORE_set_flags@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_read@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `OPENSSL_config@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_CTX_load_verify_locations@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `ERR_reason_error_string@OPENSSL_1.0.0' | |
/usr/lib/libpq.so: undefined reference to `SSL_set_ex_data@OPENSSL_1.0.0' | |
collect2: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <libpq-fe.h> | |
4: | |
5: /*top*/ | |
6: extern int t(void); | |
7: int main(int argc, char **argv) | |
8: { | |
9: if (argc > 1000000) { | |
10: printf("%p", &t); | |
11: } | |
12: | |
13: return 0; | |
14: } | |
15: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQconnectdb; return 0; } | |
/* end */ | |
"gcc -o conftest -I/opt/ruby-210/embedded/include/ruby-2.1.0/i686-linux -I/opt/ruby-210/embedded/include/ruby-2.1.0/ruby/backward -I/opt/ruby-210/embedded/include/ruby-2.1.0 -I. -I/usr/include/postgresql -I/opt/ruby-210/embedded/include -D_FILE_OFFSET_BITS=64 -I/opt/ruby-210/embedded/include -O3 -g -pipe -fPIC conftest.c -L. -L/opt/ruby-210/embedded/lib -Wl,-R/opt/ruby-210/embedded/lib -L/usr/lib -Wl,-R/usr/lib -L/opt/ruby-210/embedded/lib -Wl,-R/opt/ruby-210/embedded/lib -L. -Wl,-rpath,/opt/ruby-210/embedded/lib -L/opt/ruby-210/embedded/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/opt/ruby-210/embedded/lib -L/opt/ruby-210/embedded/lib -lruby -lpq -lpthread -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:15:1: error: too few arguments to function ‘PQconnectdb’ | |
/usr/include/postgresql/libpq-fe.h:250:16: note: declared here | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <libpq-fe.h> | |
4: | |
5: /*top*/ | |
6: extern int t(void); | |
7: int main(int argc, char **argv) | |
8: { | |
9: if (argc > 1000000) { | |
10: printf("%p", &t); | |
11: } | |
12: | |
13: return 0; | |
14: } | |
15: int t(void) { PQconnectdb(); return 0; } | |
/* end */ | |
-------------------- | |
have_library: checking for PQconnectdb() in -llibpq... -------------------- no | |
"gcc -o conftest -I/opt/ruby-210/embedded/include/ruby-2.1.0/i686-linux -I/opt/ruby-210/embedded/include/ruby-2.1.0/ruby/backward -I/opt/ruby-210/embedded/include/ruby-2.1.0 -I. -I/usr/include/postgresql -I/opt/ruby-210/embedded/include -D_FILE_OFFSET_BITS=64 -I/opt/ruby-210/embedded/include -O3 -g -pipe -fPIC conftest.c -L. -L/opt/ruby-210/embedded/lib -Wl,-R/opt/ruby-210/embedded/lib -L/usr/lib -Wl,-R/usr/lib -L/opt/ruby-210/embedded/lib -Wl,-R/opt/ruby-210/embedded/lib -L. -Wl,-rpath,/opt/ruby-210/embedded/lib -L/opt/ruby-210/embedded/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/opt/ruby-210/embedded/lib -L/opt/ruby-210/embedded/lib -lruby -llibpq -lpthread -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -llibpq | |
collect2: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <libpq-fe.h> | |
4: | |
5: /*top*/ | |
6: extern int t(void); | |
7: int main(int argc, char **argv) | |
8: { | |
9: if (argc > 1000000) { | |
10: printf("%p", &t); | |
11: } | |
12: | |
13: return 0; | |
14: } | |
15: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQconnectdb; return 0; } | |
/* end */ | |
"gcc -o conftest -I/opt/ruby-210/embedded/include/ruby-2.1.0/i686-linux -I/opt/ruby-210/embedded/include/ruby-2.1.0/ruby/backward -I/opt/ruby-210/embedded/include/ruby-2.1.0 -I. -I/usr/include/postgresql -I/opt/ruby-210/embedded/include -D_FILE_OFFSET_BITS=64 -I/opt/ruby-210/embedded/include -O3 -g -pipe -fPIC conftest.c -L. -L/opt/ruby-210/embedded/lib -Wl,-R/opt/ruby-210/embedded/lib -L/usr/lib -Wl,-R/usr/lib -L/opt/ruby-210/embedded/lib -Wl,-R/opt/ruby-210/embedded/lib -L. -Wl,-rpath,/opt/ruby-210/embedded/lib -L/opt/ruby-210/embedded/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/opt/ruby-210/embedded/lib -L/opt/ruby-210/embedded/lib -lruby -llibpq -lpthread -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:15:1: error: too few arguments to function ‘PQconnectdb’ | |
/usr/include/postgresql/libpq-fe.h:250:16: note: declared here | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <libpq-fe.h> | |
4: | |
5: /*top*/ | |
6: extern int t(void); | |
7: int main(int argc, char **argv) | |
8: { | |
9: if (argc > 1000000) { | |
10: printf("%p", &t); | |
11: } | |
12: | |
13: return 0; | |
14: } | |
15: int t(void) { PQconnectdb(); return 0; } | |
/* end */ | |
-------------------- | |
have_library: checking for PQconnectdb() in -lms/libpq... -------------------- no | |
"gcc -o conftest -I/opt/ruby-210/embedded/include/ruby-2.1.0/i686-linux -I/opt/ruby-210/embedded/include/ruby-2.1.0/ruby/backward -I/opt/ruby-210/embedded/include/ruby-2.1.0 -I. -I/usr/include/postgresql -I/opt/ruby-210/embedded/include -D_FILE_OFFSET_BITS=64 -I/opt/ruby-210/embedded/include -O3 -g -pipe -fPIC conftest.c -L. -L/opt/ruby-210/embedded/lib -Wl,-R/opt/ruby-210/embedded/lib -L/usr/lib -Wl,-R/usr/lib -L/opt/ruby-210/embedded/lib -Wl,-R/opt/ruby-210/embedded/lib -L. -Wl,-rpath,/opt/ruby-210/embedded/lib -L/opt/ruby-210/embedded/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/opt/ruby-210/embedded/lib -L/opt/ruby-210/embedded/lib -lruby -lms/libpq -lpthread -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lms/libpq | |
collect2: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <libpq-fe.h> | |
4: | |
5: /*top*/ | |
6: extern int t(void); | |
7: int main(int argc, char **argv) | |
8: { | |
9: if (argc > 1000000) { | |
10: printf("%p", &t); | |
11: } | |
12: | |
13: return 0; | |
14: } | |
15: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQconnectdb; return 0; } | |
/* end */ | |
"gcc -o conftest -I/opt/ruby-210/embedded/include/ruby-2.1.0/i686-linux -I/opt/ruby-210/embedded/include/ruby-2.1.0/ruby/backward -I/opt/ruby-210/embedded/include/ruby-2.1.0 -I. -I/usr/include/postgresql -I/opt/ruby-210/embedded/include -D_FILE_OFFSET_BITS=64 -I/opt/ruby-210/embedded/include -O3 -g -pipe -fPIC conftest.c -L. -L/opt/ruby-210/embedded/lib -Wl,-R/opt/ruby-210/embedded/lib -L/usr/lib -Wl,-R/usr/lib -L/opt/ruby-210/embedded/lib -Wl,-R/opt/ruby-210/embedded/lib -L. -Wl,-rpath,/opt/ruby-210/embedded/lib -L/opt/ruby-210/embedded/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/opt/ruby-210/embedded/lib -L/opt/ruby-210/embedded/lib -lruby -lms/libpq -lpthread -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function ‘t’: | |
conftest.c:15:1: error: too few arguments to function ‘PQconnectdb’ | |
/usr/include/postgresql/libpq-fe.h:250:16: note: declared here | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <libpq-fe.h> | |
4: | |
5: /*top*/ | |
6: extern int t(void); | |
7: int main(int argc, char **argv) | |
8: { | |
9: if (argc > 1000000) { | |
10: printf("%p", &t); | |
11: } | |
12: | |
13: return 0; | |
14: } | |
15: int t(void) { PQconnectdb(); return 0; } | |
/* end */ | |
-------------------- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment