logo       

Resin and SSL: msg#00057

text.xml.resin.user

Subject: Resin and SSL

What am I doing wrong here. I am trying to compile Resin Version 2.1.10 under Linux with openssl support.

 

I enter the following

 

root@ian resin]# ./configure --with-openssl=/usr/share/ssl --with-openssl-include=/usr/include --with-openssl-lib=/lib

 

I copied the openssl include files to /usr/include/openssl.

 

When I enter make I get the following error.

 

gcc  -o resin resin.o ../common/common.o std.o memory.o ssl.o -lpthread -ldl

ssl.o(.text+0xbf): In function `ssl_verify_callback':

/usr/resin/src/c/plugin/resin/ssl.c:134: undefined reference to `X509_STORE_CTX_get_ex_data'

ssl.o(.text+0xd5):/usr/resin/src/c/plugin/resin/ssl.c:140: undefined reference to `SSL_get_ex_data'

ssl.o(.text+0xed):/usr/resin/src/c/plugin/resin/ssl.c:146: undefined reference to `X509_STORE_CTX_get_error'

ssl.o(.text+0x12d): In function `ssl_create_context':

/usr/resin/src/c/plugin/resin/ssl.c:169: undefined reference to `SSL_load_error_strings'

ssl.o(.text+0x132):/usr/resin/src/c/plugin/resin/ssl.c:170: undefined reference to `SSL_library_init'

ssl.o(.text+0x137):/usr/resin/src/c/plugin/resin/ssl.c:171: undefined reference to `SSL_library_init'

ssl.o(.text+0x13c):/usr/resin/src/c/plugin/resin/ssl.c:172: undefined reference to `SSLv23_server_method'

ssl.o(.text+0x16c):/usr/resin/src/c/plugin/resin/ssl.c:194: undefined reference to `SSL_CTX_new'

ssl.o(.text+0x196):/usr/resin/src/c/plugin/resin/ssl.c:202: undefined reference to `SSL_CTX_ctrl'

ssl.o(.text+0x1d8):/usr/resin/src/c/plugin/resin/ssl.c:220: undefined reference to `SSL_CTX_set_default_passwd_cb'

ssl.o(.text+0x1e7):/usr/resin/src/c/plugin/resin/ssl.c:221: undefined reference to `SSL_CTX_set_default_passwd_cb_userdata'

ssl.o(.text+0x1fe):/usr/resin/src/c/plugin/resin/ssl.c:222: undefined reference to `SSL_CTX_use_certificate_file'

ssl.o(.text+0x21d):/usr/resin/src/c/plugin/resin/ssl.c:230: undefined reference to `SSL_CTX_use_PrivateKey_file'

ssl.o(.text+0x22c):/usr/resin/src/c/plugin/resin/ssl.c:237: undefined reference to `SSL_CTX_check_private_key'

ssl.o(.text+0x268):/usr/resin/src/c/plugin/resin/ssl.c:256: undefined reference to `SSL_CTX_set_verify'

ssl.o(.text+0x29d):/usr/resin/src/c/plugin/resin/ssl.c:280: undefined reference to `SSL_CTX_load_verify_locations'

ssl.o(.text+0x31d):/usr/resin/src/c/plugin/resin/ssl.c:270: undefined reference to `RSA_generate_key'

ssl.o(.text+0x362):/usr/resin/src/c/plugin/resin/ssl.c:260: undefined reference to `RSA_generate_key'

ssl.o(.text+0x398):/usr/resin/src/c/plugin/resin/ssl.c:263: undefined reference to `SSL_CTX_use_certificate_chain_file'

ssl.o(.text+0x3ac):/usr/resin/src/c/plugin/resin/ssl.c:244: undefined reference to `ERR_print_errors_fp'

ssl.o(.text+0x409):/usr/resin/src/c/plugin/resin/ssl.c:233: undefined reference to `ERR_print_errors_fp'

ssl.o(.text+0x48c):/usr/resin/src/c/plugin/resin/ssl.c:208: undefined reference to `SSL_CTX_ctrl'

ssl.o(.text+0x4b1):/usr/resin/src/c/plugin/resin/ssl.c:206: undefined reference to `SSL_CTX_ctrl'

ssl.o(.text+0x4dc):/usr/resin/src/c/plugin/resin/ssl.c:204: undefined reference to `SSL_CTX_ctrl'

ssl.o(.text+0x507):/usr/resin/src/c/plugin/resin/ssl.c:176: undefined reference to `ENGINE_by_id'

ssl.o(.text+0x51e):/usr/resin/src/c/plugin/resin/ssl.c:183: undefined reference to `ENGINE_set_default'

ssl.o(.text+0x53d):/usr/resin/src/c/plugin/resin/ssl.c:190: undefined reference to `ENGINE_free'

ssl.o(.text+0x613): In function `ssl_safe_free':

/usr/resin/src/c/plugin/resin/ssl.c:327: undefined reference to `SSL_set_shutdown'

ssl.o(.text+0x625):/usr/resin/src/c/plugin/resin/ssl.c:329: undefined reference to `SSL_shutdown'

ssl.o(.text+0x6c5): In function `ssl_open':

/usr/resin/src/c/plugin/resin/ssl.c:384: undefined reference to `SSL_set_fd'

ssl.o(.text+0x6de):/usr/resin/src/c/plugin/resin/ssl.c:385: undefined reference to `SSL_set_ex_data'

ssl.o(.text+0x6ef):/usr/resin/src/c/plugin/resin/ssl.c:387: undefined reference to `SSL_set_tmp_rsa_callback'

ssl.o(.text+0x748):/usr/resin/src/c/plugin/resin/ssl.c:398: undefined reference to `SSL_state'

ssl.o(.text+0x7ce):/usr/resin/src/c/plugin/resin/ssl.c:422: undefined reference to `SSL_accept'

ssl.o(.text+0x7f2):/usr/resin/src/c/plugin/resin/ssl.c:429: undefined reference to `SSL_get_error'

ssl.o(.text+0x810):/usr/resin/src/c/plugin/resin/ssl.c:434: undefined reference to `ERR_print_errors_fp'

ssl.o(.text+0x87b):/usr/resin/src/c/plugin/resin/ssl.c:445: undefined reference to `SSL_get_current_cipher'

ssl.o(.text+0x889):/usr/resin/src/c/plugin/resin/ssl.c:448: undefined reference to `SSL_CIPHER_get_name'

ssl.o(.text+0x8a1):/usr/resin/src/c/plugin/resin/ssl.c:449: undefined reference to `SSL_CIPHER_get_bits'

ssl.o(.text+0x8b3):/usr/resin/src/c/plugin/resin/ssl.c:372: undefined reference to `SSL_new'

ssl.o(.text+0x9b8): In function `ssl_read':

/usr/resin/src/c/plugin/resin/ssl.c:503: undefined reference to `SSL_read'

ssl.o(.text+0x9d4):/usr/resin/src/c/plugin/resin/ssl.c:507: undefined reference to `SSL_get_error'

ssl.o(.text+0xbc2): In function `ssl_write':

/usr/resin/src/c/plugin/resin/ssl.c:566: undefined reference to `SSL_write'

ssl.o(.text+0xc99):/usr/resin/src/c/plugin/resin/ssl.c:597: undefined reference to `SSL_write'

ssl.o(.text+0xe94): In function `ssl_read_client_certificate':

/usr/resin/src/c/plugin/resin/ssl.c:687: undefined reference to `SSL_get_peer_certificate'

ssl.o(.text+0xea4):/usr/resin/src/c/plugin/resin/ssl.c:692: undefined reference to `BIO_s_mem'

ssl.o(.text+0xeac):/usr/resin/src/c/plugin/resin/ssl.c:692: undefined reference to `BIO_new'

ssl.o(.text+0xec8):/usr/resin/src/c/plugin/resin/ssl.c:695: undefined reference to `PEM_write_bio_X509'

ssl.o(.text+0xee0):/usr/resin/src/c/plugin/resin/ssl.c:696: undefined reference to `BIO_ctrl'

ssl.o(.text+0xeef):/usr/resin/src/c/plugin/resin/ssl.c:701: undefined reference to `BIO_free'

ssl.o(.text+0xf0f):/usr/resin/src/c/plugin/resin/ssl.c:699: undefined reference to `BIO_read'

ssl.o(.text+0x63a): In function `ssl_safe_free':

/usr/resin/src/c/plugin/resin/ssl.c:332: undefined reference to `SSL_free'

collect2: ld returned 1 exit status

make[2]: *** [resin] Error 1

make[2]: Leaving directory `/usr/resin-2.1.10/src/c/plugin/resin'

make[1]: *** [plugins] Error 2

make[1]: Leaving directory `/usr/resin-2.1.10/src/c/plugin'

make: *** [all] Error 2

[root@ian resin]#

 

 

What am I doing wrong?

 

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise