have_library: checking for BIO_read() in -lcrypto... -------------------- yes

"gcc -o conftest -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/x86_64-linux -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/ruby/backward -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0 -I.     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -fPIC conftest.c  -L. -L/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -Wl,-R/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic     -Wl,-R/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -L/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -lruby  -lpthread -lgmp -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 -o conftest -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/x86_64-linux -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/ruby/backward -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0 -I.     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -fPIC conftest.c  -L. -L/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -Wl,-R/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic     -Wl,-R/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -L/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -lruby -lcrypto  -lpthread -lgmp -ldl -lcrypt -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:13:57: error: ‘BIO_read’ undeclared (first use in this function); did you mean ‘pread’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))BIO_read; return !p; }
                                                         ^~~~~~~~
                                                         pread
conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))BIO_read; return !p; }
/* end */

"gcc -o conftest -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/x86_64-linux -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/ruby/backward -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0 -I.     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -fPIC conftest.c  -L. -L/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -Wl,-R/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic     -Wl,-R/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -L/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -lruby -lcrypto  -lpthread -lgmp -ldl -lcrypt -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
13: extern void BIO_read();
14: int t(void) { BIO_read(); return 0; }
/* end */

--------------------

have_library: checking for SSL_CTX_new() in -lssl... -------------------- yes

"gcc -o conftest -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/x86_64-linux -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/ruby/backward -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0 -I.     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -fPIC conftest.c  -L. -L/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -Wl,-R/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic    -lcrypto  -Wl,-R/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -L/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -lruby -lssl -lcrypto  -lpthread -lgmp -ldl -lcrypt -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:13:57: error: ‘SSL_CTX_new’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_new; return !p; }
                                                         ^~~~~~~~~~~
conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_new; return !p; }
/* end */

"gcc -o conftest -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/x86_64-linux -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/ruby/backward -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0 -I.     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -fPIC conftest.c  -L. -L/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -Wl,-R/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic    -lcrypto  -Wl,-R/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -L/home/mmakogin/.rvm/rubies/ruby-2.3.3/lib -lruby -lssl -lcrypto  -lpthread -lgmp -ldl -lcrypt -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
13: extern void SSL_CTX_new();
14: int t(void) { SSL_CTX_new(); return 0; }
/* end */

--------------------

have_header: checking for openssl/bio.h... -------------------- yes

"gcc -E -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/x86_64-linux -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0/ruby/backward -I/home/mmakogin/.rvm/rubies/ruby-2.3.3/include/ruby-2.3.0 -I.     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/bio.h>
/* end */

--------------------

