Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 16 Jun 2011 20:19:45 -0400
From: "Robert Harris" <rs904c@...scape.net>
To: <john-dev@...ts.openwall.com>
Subject: RE: Error with static linking in jumbo 6

John-Dev,

 

Here is the error output:

 

make clean linux-x86-64

 

...

...

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -DHAVE_CRYPT -funroll-loops c3_fmt.c

gcc -c  x86-64.S

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -DHAVE_CRYPT -funroll-loops sse-intrinsics.c

gcc DES_fmt.o DES_std.o DES_bs.o DES_bs_b.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o NT_fmt.o XSHA_fmt.o BFEgg_fmt.o DOMINOSEC_fmt.o timer.o lotus5_fmt.o oracle_fmt.o oracle11_fmt.o MYSQL_fmt.o mysqlSHA1_fmt.o KRB4_fmt.o KRB4_std.o KRB5_fmt.o KRB5_std.o mskrb5_fmt.o md5_go.o rawMD5go_fmt.o md5_eq.o rawMD5unicode_fmt.o PO_fmt.o md5.o hmacmd5.o hmacMD5_fmt.o IPB2_fmt.o rawSHA1_fmt.o sha1_gen_fmt.o rawMD4_fmt.o md4_gen_fmt.o NSLDAP_fmt.o NSLDAPS_fmt.o OPENLDAPS_fmt.o salted_sha1_fmt.o base64.o md4.o mscash_fmt.o mscash2_fmt.o NETLM_fmt.o NETNTLM_fmt.o NETLMv2_fmt.o NETNTLMv2_fmt.o NETHALFLM_fmt.o mediawiki_fmt.o MSCHAPv2_fmt.o mssql_fmt.o mssql05_fmt.o EPI_fmt.o PHPS_fmt.o MYSQL_fast_fmt.o pixMD5_fmt.o sapG_fmt.o sapB_fmt.o NS_fmt.o HDAA_fmt.o phpassMD5_fmt.o md5_gen_fmt.o md5_gen_parser.o md5_gen_preloads.o md5_gen_utils.o DMD5_fmt.o hmailserver_fmt.o SybaseASE_fmt.o SKEY_fmt.o ssh_fmt.o ssh2john.o pdf_fmt.o pdf2john.o pdfcrack_common.o pdfcrack_md5.o pdfparser.o pdfcrack.o pdfcrack_rc4.o rar_fmt.o rar2john.o dummy.o batch.o bench.o charset.o common.o compiler.o config.o cracker.o crc32.o external.o formats.o getopt.o idle.o inc.o john.o list.o loader.o logger.o math.o memory.o misc.o options.o params.o path.o recovery.o rpp.o rules.o signals.o single.o status.o tty.o wordlist.o mkv.o mkvlib.o unicode.o unshadow.o unafs.o undrop.o unique.o c3_fmt.o x86-64.o sse-intrinsics.o -s -L/usr/local/lib -L/usr/local/ssl/lib -lcrypto -lssl -lm  -lcrypt -static -L/usr/lib64 -o ../run/john

/usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_init':

(.text+0xe4): undefined reference to `inflateInit_'

/usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_init':

(.text+0x151): undefined reference to `deflateInit_'

/usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_finish':

(.text+0x1ef): undefined reference to `inflateEnd'

/usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_finish':

(.text+0x1f8): undefined reference to `deflateEnd'

/usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_compress_block':

(.text+0x2c0): undefined reference to `deflate'

/usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_expand_block':

(.text+0x359): undefined reference to `inflate'

/usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_free':

(.text+0x598): undefined reference to `deflateEnd'

/usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_free':

(.text+0x5b5): undefined reference to `inflateEnd'

/usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_read':

(.text+0x65d): undefined reference to `inflate'

/usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_read':

(.text+0x716): undefined reference to `zError'

/usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_read':

(.text+0x754): undefined reference to `inflateInit_'

/usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_write':

(.text+0x8ce): undefined reference to `deflate'

/usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_write':

(.text+0x963): undefined reference to `deflateInit_'

/usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_write':

(.text+0x9ad): undefined reference to `zError'

/usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_ctrl':

(.text+0xb66): undefined reference to `deflate'

/usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_ctrl':

(.text+0xc81): undefined reference to `zError'

/usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':

(.text+0x4e): undefined reference to `dlopen'

/usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':

(.text+0xbd): undefined reference to `dlclose'

/usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':

(.text+0xf8): undefined reference to `dlerror'

/usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':

(.text+0x17d): undefined reference to `dlclose'

/usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':

(.text+0x23c): undefined reference to `dlsym'

/usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':

(.text+0x2c0): undefined reference to `dlerror'

/usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':

(.text+0x344): undefined reference to `dlsym'

/usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':

(.text+0x3a0): undefined reference to `dlerror'

/usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr':

(.text+0x69f): undefined reference to `dladdr'

/usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr':

(.text+0x6f4): undefined reference to `dlerror'

/usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup':

(.text+0x741): undefined reference to `dlopen'

/usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup':

(.text+0x754): undefined reference to `dlsym'

/usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup':

(.text+0x75f): undefined reference to `dlclose'

/usr/lib64/libssl.a(ssl_err2.o): In function `SSL_load_error_strings':

(.text+0x5): undefined reference to `ERR_load_crypto_strings'

/usr/lib64/libssl.a(ssl_ciph.o): In function `ssl_cipher_get_evp':

(.text+0x632): undefined reference to `EVP_enc_null'

/usr/lib64/libssl.a(ssl_lib.o): In function `SSL_set_fd':

(.text+0x4d1): undefined reference to `BIO_s_socket'

/usr/lib64/libssl.a(ssl_lib.o): In function `SSL_set_wfd':

(.text+0x587): undefined reference to `BIO_s_socket'

/usr/lib64/libssl.a(ssl_lib.o): In function `SSL_set_rfd':

(.text+0x667): undefined reference to `BIO_s_socket'

/usr/lib64/libssl.a(ssl_lib.o): In function `ssl_clear_cipher_ctx':

(.text+0x2987): undefined reference to `COMP_CTX_free'

/usr/lib64/libssl.a(ssl_lib.o): In function `ssl_clear_cipher_ctx':

(.text+0x2999): undefined reference to `COMP_CTX_free'

/usr/lib64/libssl.a(ssl_lib.o): In function `SSL_CTX_set_default_verify_paths':

(.text+0x2d05): undefined reference to `X509_STORE_set_default_paths'

/usr/lib64/libssl.a(ssl_lib.o): In function `SSL_CTX_load_verify_locations':

(.text+0x2d15): undefined reference to `X509_STORE_load_locations'

/usr/lib64/libssl.a(ssl_cert.o): In function `SSL_load_client_CA_file':

(.text+0xa8c): undefined reference to `PEM_read_bio_X509'

/usr/lib64/libssl.a(ssl_cert.o): In function `SSL_load_client_CA_file':

(.text+0xaec): undefined reference to `PEM_read_bio_X509'

/usr/lib64/libssl.a(ssl_cert.o): In function `SSL_add_file_cert_subjects_to_stack':

(.text+0xc24): undefined reference to `PEM_read_bio_X509'

/usr/lib64/libssl.a(ssl_cert.o): In function `SSL_add_file_cert_subjects_to_stack':

(.text+0xc7b): undefined reference to `PEM_read_bio_X509'

/usr/lib64/libssl.a(ssl_cert.o): In function `SSL_add_dir_cert_subjects_to_stack':

(.text+0xd6c): undefined reference to `OPENSSL_DIR_read'

/usr/lib64/libssl.a(ssl_cert.o): In function `SSL_add_dir_cert_subjects_to_stack':

(.text+0xe12): undefined reference to `OPENSSL_DIR_end'

/usr/lib64/libssl.a(ssl_sess.o): In function `SSL_CTX_set_client_cert_engine':

(.text+0x1336): undefined reference to `ENGINE_get_ssl_client_cert_function'

/usr/lib64/libssl.a(s3_pkt.o): In function `ssl3_do_uncompress':

(.text+0x378): undefined reference to `COMP_expand_block'

/usr/lib64/libssl.a(s3_pkt.o): In function `ssl3_do_compress':

(.text+0x3c8): undefined reference to `COMP_compress_block'

/usr/lib64/libssl.a(t1_enc.o): In function `tls1_change_cipher_state':

(.text+0x618): undefined reference to `COMP_CTX_new'

/usr/lib64/libssl.a(t1_enc.o): In function `tls1_change_cipher_state':

(.text+0x6ed): undefined reference to `COMP_CTX_new'

/usr/lib64/libssl.a(t1_enc.o): In function `tls1_change_cipher_state':

(.text+0xc48): undefined reference to `COMP_CTX_free'

/usr/lib64/libssl.a(t1_enc.o): In function `tls1_change_cipher_state':

(.text+0xc61): undefined reference to `COMP_CTX_free'

/usr/lib64/libssl.a(s3_enc.o): In function `ssl3_change_cipher_state':

(.text+0xc7): undefined reference to `COMP_CTX_new'

/usr/lib64/libssl.a(s3_enc.o): In function `ssl3_change_cipher_state':

(.text+0x193): undefined reference to `COMP_CTX_new'

/usr/lib64/libssl.a(s3_enc.o): In function `ssl3_change_cipher_state':

(.text+0x511): undefined reference to `COMP_CTX_free'

/usr/lib64/libssl.a(s3_enc.o): In function `ssl3_change_cipher_state':

(.text+0x526): undefined reference to `COMP_CTX_free'

collect2: ld returned 1 exit status

make[1]: *** [../run/john] Error 1

make[1]: Leaving directory `/home/rharris/john-1.7.7-jumbo-6-WIP/src'

make: *** [linux-x86-64] Error 2

rharris@...-owl1:~/john-1.7.7-jumbo-6-WIP/src $

 

 

From: rs904c@...scape.net [mailto:rs904c@...scape.net] 
Sent: Thursday, June 16, 2011 3:25 PM
To: john-dev@...ts.openwall.com
Subject: [john-dev] Error with static linking in jumbo 6

 

John-Dev,

 

I recently attempted to build JtR with jumbo 6 on Linux x86 32-bit and 64-bit.   Since my goal is to upload to the wiki, so others can possibly use it, I statically link to OpenSSL and to glibc.   But this is causing two fatal errors. I’m getting errors with libcrypto.a.  I can’t past the code right now.

However, when I remove the static linking to OpenSSL and to glibc, the errors don’t occur and I get a successful build.

Is the solution to apply the patch john-1.7.7-jumbo-6-auto_have_sha256-03.diff.gz, or is some other error been introduced into jumbo 6?   I can’t apply the above patch right now to test.

-Robert B. Harris from VA

 


Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.