Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 17 Jun 2011 11:36:25 -0400 (EDT)
From: "Robert B. Harris" <rs904c@...scape.net>
To: john-dev@...ts.openwall.com
Subject: Re: Error with static linking in jumbo 6


Alex,
Now I get.
gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -DHAVE_CRYPT -funroll-loops c3_fmt.c
gcc -c  x86.S
gcc -c  x86-sse.S
gcc -c  sha1-mmx.S
gcc -c  md5-mmx.S
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.o x86-sse.o sha1-mmx.o md5-mmx.o -s -L/usr/local/lib -L/usr/local/ssl/lib -lcrypto -lssl -lm  -lcrypt -static -lz -ldl -L/usr/lib -o ../run/john
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
(.text+0x73): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/libssl.a(ssl_err2.o): In function `SSL_load_error_strings':
(.text+0xd): undefined reference to `ERR_load_crypto_strings'
/usr/lib/libssl.a(ssl_ciph.o): In function `ssl_cipher_get_evp':
(.text+0x545): undefined reference to `EVP_enc_null'
/usr/lib/libssl.a(ssl_lib.o): In function `SSL_set_fd':
(.text+0x6fd): undefined reference to `BIO_s_socket'
/usr/lib/libssl.a(ssl_lib.o): In function `SSL_set_wfd':
(.text+0x7cb): undefined reference to `BIO_s_socket'
/usr/lib/libssl.a(ssl_lib.o): In function `SSL_set_rfd':
(.text+0x8db): undefined reference to `BIO_s_socket'
/usr/lib/libssl.a(ssl_lib.o): In function `ssl_clear_cipher_ctx':
(.text+0x3144): undefined reference to `COMP_CTX_free'
/usr/lib/libssl.a(ssl_lib.o): In function `ssl_clear_cipher_ctx':
(.text+0x3164): undefined reference to `COMP_CTX_free'
/usr/lib/libssl.a(ssl_lib.o): In function `SSL_CTX_set_default_verify_paths':
(.text+0x350a): undefined reference to `X509_STORE_set_default_paths'
/usr/lib/libssl.a(ssl_lib.o): In function `SSL_CTX_load_verify_locations':
(.text+0x354a): undefined reference to `X509_STORE_load_locations'
/usr/lib/libssl.a(ssl_cert.o): In function `SSL_load_client_CA_file':
(.text+0xc98): undefined reference to `PEM_read_bio_X509'
/usr/lib/libssl.a(ssl_cert.o): In function `SSL_load_client_CA_file':
(.text+0xd02): undefined reference to `PEM_read_bio_X509'
/usr/lib/libssl.a(ssl_cert.o): In function `SSL_add_file_cert_subjects_to_stack':
(.text+0xe9c): undefined reference to `PEM_read_bio_X509'
/usr/lib/libssl.a(ssl_cert.o): In function `SSL_add_file_cert_subjects_to_stack':
(.text+0xf06): undefined reference to `PEM_read_bio_X509'
/usr/lib/libssl.a(ssl_cert.o): In function `SSL_add_dir_cert_subjects_to_stack':
(.text+0x104c): undefined reference to `OPENSSL_DIR_read'
/usr/lib/libssl.a(ssl_cert.o): In function `SSL_add_dir_cert_subjects_to_stack':
(.text+0x110e): undefined reference to `OPENSSL_DIR_end'
/usr/lib/libssl.a(ssl_sess.o): In function `SSL_CTX_set_client_cert_engine':
(.text+0x1809): undefined reference to `ENGINE_get_ssl_client_cert_function'
/usr/lib/libssl.a(s3_pkt.o): In function `ssl3_do_uncompress':
(.text+0x405): undefined reference to `COMP_expand_block'
/usr/lib/libssl.a(s3_pkt.o): In function `ssl3_do_compress':
(.text+0x475): undefined reference to `COMP_compress_block'
/usr/lib/libssl.a(t1_enc.o): In function `tls1_change_cipher_state':
(.text+0x6f5): undefined reference to `COMP_CTX_new'
/usr/lib/libssl.a(t1_enc.o): In function `tls1_change_cipher_state':
(.text+0x7ba): undefined reference to `COMP_CTX_new'
/usr/lib/libssl.a(t1_enc.o): In function `tls1_change_cipher_state':
(.text+0xd46): undefined reference to `COMP_CTX_free'
/usr/lib/libssl.a(t1_enc.o): In function `tls1_change_cipher_state':
(.text+0xd59): undefined reference to `COMP_CTX_free'
/usr/lib/libssl.a(s3_enc.o): In function `ssl3_change_cipher_state':
(.text+0xbd): undefined reference to `COMP_CTX_new'
/usr/lib/libssl.a(s3_enc.o): In function `ssl3_change_cipher_state':
(.text+0x1c3): undefined reference to `COMP_CTX_new'
/usr/lib/libssl.a(s3_enc.o): In function `ssl3_change_cipher_state':
(.text+0x5b8): undefined reference to `COMP_CTX_free'
/usr/lib/libssl.a(s3_enc.o): In function `ssl3_change_cipher_state':
(.text+0x5d4): 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-sse2] Error 2



-Robert B. Harris from VA

-----Original Message-----
From: Robert B. Harris <rs904c@...scape.net>
To: john-dev <john-dev@...ts.openwall.com>
Sent: Fri, Jun 17, 2011 10:31 am
Subject: Re: [john-dev] Error with static linking in jumbo 6


Alex,
I am running Owl 3.0 stable 2011/03/12, and using the included/latest version of OpenSSL 1.0.0d.

I'll try the new settings and report back shortly.

-Robert B. Haris from VA

-----Original Message-----
From: Solar Designer <solar@...nwall.com>
To: john-dev <john-dev@...ts.openwall.com>
Sent: Fri, Jun 17, 2011 10:18 am
Subject: Re: [john-dev] Error with static linking in jumbo 6


Robert,
On Fri, Jun 17, 2011 at 10:11:12AM -0400, rs904c@...scape.net wrote:
 ok, I added the LDFLAGS with the -lz. Now I get some other errors.  It looks 
ike something else is needed/needs to be modified.
Yes.
> /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
 (.text+0x73): undefined reference to `dlopen'
Add "-ldl".
> /usr/lib/libssl.a(ssl_err2.o): In function `SSL_load_error_strings':
 (.text+0xd): undefined reference to `ERR_load_crypto_strings'
Now, these are puzzling to me.  What build of OpenSSL are you using?
Anyway, try adding "-ldl" and see where this gets you...
Thanks,
Alexander



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.