Advertisement
Guest User

Untitled

a guest
Sep 13th, 2012
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.82 KB | None | 0 0
  1. find_executable: checking for pg_config... -------------------- yes
  2.  
  3. --------------------
  4.  
  5. find_header: checking for libpq-fe.h... -------------------- yes
  6.  
  7. "gcc -o conftest -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/x86_64-linux -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/ruby/backward -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1 -I. -I/home/cory/.rvm/usr/include -I/usr/include/postgresql -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -L. -L/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -Wl,-R/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -L/home/cory/.rvm/usr/lib -Wl,-R/home/cory/.rvm/usr/lib -L. -rdynamic -Wl,-export-dynamic -L/usr/lib -Wl,-R -Wl,/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -L/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc"
  8. checked program was:
  9. /* begin */
  10. 1: #include "ruby.h"
  11. 2:
  12. 3: int main() {return 0;}
  13. /* end */
  14.  
  15. "gcc -E -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/x86_64-linux -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/ruby/backward -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1 -I. -I/home/cory/.rvm/usr/include -I/usr/include/postgresql -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -o conftest.i"
  16. checked program was:
  17. /* begin */
  18. 1: #include "ruby.h"
  19. 2:
  20. 3: #include <libpq-fe.h>
  21. /* end */
  22.  
  23. --------------------
  24.  
  25. find_header: checking for libpq/libpq-fs.h... -------------------- yes
  26.  
  27. "gcc -E -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/x86_64-linux -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/ruby/backward -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1 -I. -I/home/cory/.rvm/usr/include -I/usr/include/postgresql -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -o conftest.i"
  28. checked program was:
  29. /* begin */
  30. 1: #include "ruby.h"
  31. 2:
  32. 3: #include <libpq/libpq-fs.h>
  33. /* end */
  34.  
  35. --------------------
  36.  
  37. find_header: checking for pg_config_manual.h... -------------------- yes
  38.  
  39. "gcc -E -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/x86_64-linux -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/ruby/backward -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1 -I. -I/home/cory/.rvm/usr/include -I/usr/include/postgresql -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -o conftest.i"
  40. checked program was:
  41. /* begin */
  42. 1: #include "ruby.h"
  43. 2:
  44. 3: #include <pg_config_manual.h>
  45. /* end */
  46.  
  47. --------------------
  48.  
  49. have_library: checking for PQconnectdb() in -lpq... -------------------- no
  50.  
  51. "gcc -o conftest -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/x86_64-linux -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/ruby/backward -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1 -I. -I/home/cory/.rvm/usr/include -I/usr/include/postgresql -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -L. -L/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -Wl,-R/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -L/home/cory/.rvm/usr/lib -Wl,-R/home/cory/.rvm/usr/lib -L. -rdynamic -Wl,-export-dynamic -L/usr/lib -Wl,-R -Wl,/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -L/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -lruby-static -lpq -lpthread -lrt -ldl -lcrypt -lm -lc"
  52. /usr/lib/libpq.so: undefined reference to `SSL_CTX_use_certificate_chain_file@OPENSSL_1.0.0'
  53. /usr/lib/libpq.so: undefined reference to `SSL_write@OPENSSL_1.0.0'
  54. /usr/lib/libpq.so: undefined reference to `SSL_set_fd@OPENSSL_1.0.0'
  55. /usr/lib/libpq.so: undefined reference to `SSL_use_PrivateKey_file@OPENSSL_1.0.0'
  56. /usr/lib/libpq.so: undefined reference to `CRYPTO_set_locking_callback@OPENSSL_1.0.0'
  57. /usr/lib/libpq.so: undefined reference to `X509_NAME_get_text_by_NID@OPENSSL_1.0.0'
  58. /usr/lib/libpq.so: undefined reference to `SSL_connect@OPENSSL_1.0.0'
  59. /usr/lib/libpq.so: undefined reference to `ENGINE_init@OPENSSL_1.0.0'
  60. /usr/lib/libpq.so: undefined reference to `X509_STORE_load_locations@OPENSSL_1.0.0'
  61. /usr/lib/libpq.so: undefined reference to `SSL_CTX_get_cert_store@OPENSSL_1.0.0'
  62. /usr/lib/libpq.so: undefined reference to `SSL_free@OPENSSL_1.0.0'
  63. /usr/lib/libpq.so: undefined reference to `SSL_library_init@OPENSSL_1.0.0'
  64. /usr/lib/libpq.so: undefined reference to `SSL_CTX_ctrl@OPENSSL_1.0.0'
  65. /usr/lib/libpq.so: undefined reference to `ERR_get_error@OPENSSL_1.0.0'
  66. /usr/lib/libpq.so: undefined reference to `SSL_pending@OPENSSL_1.0.0'
  67. /usr/lib/libpq.so: undefined reference to `ENGINE_free@OPENSSL_1.0.0'
  68. /usr/lib/libpq.so: undefined reference to `X509_get_subject_name@OPENSSL_1.0.0'
  69. /usr/lib/libpq.so: undefined reference to `SSL_use_certificate_file@OPENSSL_1.0.0'
  70. /usr/lib/libpq.so: undefined reference to `SSL_check_private_key@OPENSSL_1.0.0'
  71. /usr/lib/libpq.so: undefined reference to `SSL_load_error_strings@OPENSSL_1.0.0'
  72. /usr/lib/libpq.so: undefined reference to `ENGINE_by_id@OPENSSL_1.0.0'
  73. /usr/lib/libpq.so: undefined reference to `SSL_get_peer_certificate@OPENSSL_1.0.0'
  74. /usr/lib/libpq.so: undefined reference to `SSL_CTX_new@OPENSSL_1.0.0'
  75. /usr/lib/libpq.so: undefined reference to `CRYPTO_num_locks@OPENSSL_1.0.0'
  76. /usr/lib/libpq.so: undefined reference to `ENGINE_load_private_key@OPENSSL_1.0.0'
  77. /usr/lib/libpq.so: undefined reference to `ENGINE_finish@OPENSSL_1.0.0'
  78. /usr/lib/libpq.so: undefined reference to `SSL_set_verify@OPENSSL_1.0.0'
  79. /usr/lib/libpq.so: undefined reference to `X509_free@OPENSSL_1.0.0'
  80. /usr/lib/libpq.so: undefined reference to `CRYPTO_set_id_callback@OPENSSL_1.0.0'
  81. /usr/lib/libpq.so: undefined reference to `SSL_get_error@OPENSSL_1.0.0'
  82. /usr/lib/libpq.so: undefined reference to `SSL_new@OPENSSL_1.0.0'
  83. /usr/lib/libpq.so: undefined reference to `SSL_shutdown@OPENSSL_1.0.0'
  84. /usr/lib/libpq.so: undefined reference to `SSL_use_PrivateKey@OPENSSL_1.0.0'
  85. /usr/lib/libpq.so: undefined reference to `TLSv1_method@OPENSSL_1.0.0'
  86. /usr/lib/libpq.so: undefined reference to `X509_STORE_set_flags@OPENSSL_1.0.0'
  87. /usr/lib/libpq.so: undefined reference to `SSL_read@OPENSSL_1.0.0'
  88. /usr/lib/libpq.so: undefined reference to `OPENSSL_config@OPENSSL_1.0.0'
  89. /usr/lib/libpq.so: undefined reference to `SSL_CTX_load_verify_locations@OPENSSL_1.0.0'
  90. /usr/lib/libpq.so: undefined reference to `ERR_reason_error_string@OPENSSL_1.0.0'
  91. /usr/lib/libpq.so: undefined reference to `SSL_set_ex_data@OPENSSL_1.0.0'
  92. collect2: ld returned 1 exit status
  93. checked program was:
  94. /* begin */
  95. 1: #include "ruby.h"
  96. 2:
  97. 3: #include <libpq-fe.h>
  98. 4:
  99. 5: /*top*/
  100. 6: int main() {return 0;}
  101. 7: int t() { void ((*volatile p)()); p = (void ((*)()))PQconnectdb; return 0; }
  102. /* end */
  103.  
  104. "gcc -o conftest -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/x86_64-linux -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/ruby/backward -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1 -I. -I/home/cory/.rvm/usr/include -I/usr/include/postgresql -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -L. -L/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -Wl,-R/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -L/home/cory/.rvm/usr/lib -Wl,-R/home/cory/.rvm/usr/lib -L. -rdynamic -Wl,-export-dynamic -L/usr/lib -Wl,-R -Wl,/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -L/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -lruby-static -lpq -lpthread -lrt -ldl -lcrypt -lm -lc"
  105. conftest.c: In function ‘t’:
  106. conftest.c:7:1: error: too few arguments to function ‘PQconnectdb’
  107. /usr/include/postgresql/libpq-fe.h:243:16: note: declared here
  108. checked program was:
  109. /* begin */
  110. 1: #include "ruby.h"
  111. 2:
  112. 3: #include <libpq-fe.h>
  113. 4:
  114. 5: /*top*/
  115. 6: int main() {return 0;}
  116. 7: int t() { PQconnectdb(); return 0; }
  117. /* end */
  118.  
  119. --------------------
  120.  
  121. have_library: checking for PQconnectdb() in -llibpq... -------------------- no
  122.  
  123. "gcc -o conftest -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/x86_64-linux -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/ruby/backward -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1 -I. -I/home/cory/.rvm/usr/include -I/usr/include/postgresql -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -L. -L/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -Wl,-R/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -L/home/cory/.rvm/usr/lib -Wl,-R/home/cory/.rvm/usr/lib -L. -rdynamic -Wl,-export-dynamic -L/usr/lib -Wl,-R -Wl,/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -L/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -lruby-static -llibpq -lpthread -lrt -ldl -lcrypt -lm -lc"
  124. /usr/bin/ld: cannot find -llibpq
  125. collect2: ld returned 1 exit status
  126. checked program was:
  127. /* begin */
  128. 1: #include "ruby.h"
  129. 2:
  130. 3: #include <libpq-fe.h>
  131. 4:
  132. 5: /*top*/
  133. 6: int main() {return 0;}
  134. 7: int t() { void ((*volatile p)()); p = (void ((*)()))PQconnectdb; return 0; }
  135. /* end */
  136.  
  137. "gcc -o conftest -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/x86_64-linux -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/ruby/backward -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1 -I. -I/home/cory/.rvm/usr/include -I/usr/include/postgresql -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -L. -L/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -Wl,-R/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -L/home/cory/.rvm/usr/lib -Wl,-R/home/cory/.rvm/usr/lib -L. -rdynamic -Wl,-export-dynamic -L/usr/lib -Wl,-R -Wl,/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -L/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -lruby-static -llibpq -lpthread -lrt -ldl -lcrypt -lm -lc"
  138. conftest.c: In function ‘t’:
  139. conftest.c:7:1: error: too few arguments to function ‘PQconnectdb’
  140. /usr/include/postgresql/libpq-fe.h:243:16: note: declared here
  141. checked program was:
  142. /* begin */
  143. 1: #include "ruby.h"
  144. 2:
  145. 3: #include <libpq-fe.h>
  146. 4:
  147. 5: /*top*/
  148. 6: int main() {return 0;}
  149. 7: int t() { PQconnectdb(); return 0; }
  150. /* end */
  151.  
  152. --------------------
  153.  
  154. have_library: checking for PQconnectdb() in -lms/libpq... -------------------- no
  155.  
  156. "gcc -o conftest -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/x86_64-linux -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/ruby/backward -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1 -I. -I/home/cory/.rvm/usr/include -I/usr/include/postgresql -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -L. -L/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -Wl,-R/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -L/home/cory/.rvm/usr/lib -Wl,-R/home/cory/.rvm/usr/lib -L. -rdynamic -Wl,-export-dynamic -L/usr/lib -Wl,-R -Wl,/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -L/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -lruby-static -lms/libpq -lpthread -lrt -ldl -lcrypt -lm -lc"
  157. /usr/bin/ld: cannot find -lms/libpq
  158. collect2: ld returned 1 exit status
  159. checked program was:
  160. /* begin */
  161. 1: #include "ruby.h"
  162. 2:
  163. 3: #include <libpq-fe.h>
  164. 4:
  165. 5: /*top*/
  166. 6: int main() {return 0;}
  167. 7: int t() { void ((*volatile p)()); p = (void ((*)()))PQconnectdb; return 0; }
  168. /* end */
  169.  
  170. "gcc -o conftest -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/x86_64-linux -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1/ruby/backward -I/home/cory/.rvm/rubies/ruby-1.9.2-p320/include/ruby-1.9.1 -I. -I/home/cory/.rvm/usr/include -I/usr/include/postgresql -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -L. -L/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -Wl,-R/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -L/home/cory/.rvm/usr/lib -Wl,-R/home/cory/.rvm/usr/lib -L. -rdynamic -Wl,-export-dynamic -L/usr/lib -Wl,-R -Wl,/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -L/home/cory/.rvm/rubies/ruby-1.9.2-p320/lib -lruby-static -lms/libpq -lpthread -lrt -ldl -lcrypt -lm -lc"
  171. conftest.c: In function ‘t’:
  172. conftest.c:7:1: error: too few arguments to function ‘PQconnectdb’
  173. /usr/include/postgresql/libpq-fe.h:243:16: note: declared here
  174. checked program was:
  175. /* begin */
  176. 1: #include "ruby.h"
  177. 2:
  178. 3: #include <libpq-fe.h>
  179. 4:
  180. 5: /*top*/
  181. 6: int main() {return 0;}
  182. 7: int t() { PQconnectdb(); return 0; }
  183. /* end */
  184.  
  185. --------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement