|
Message-Id: <08A0C280-90FE-4602-A655-7E7060679637@erols.com> Date: Tue, 26 Mar 2019 08:38:56 +0000 From: Erik Winkler <ewinkler@...ls.com> To: john-users@...ts.openwall.com Subject: Re: Compiler errors on macOS Mojave 10.14.2 It works just fine for me on MacOS 10.14.3. From the errors you are getting, it could be an OpenSSL issue. I had to build my openssl libraries specifically for x86_64. What does the following command tell you for the openssl you are compiling John with? lipo -i libcrypto.a Here is my output running your build command: make -s clean && make -sj4 ar: creating archive aes.a ar: creating archive secp256k1.a ar: creating archive ed25519-donna.a gpg_common_plug.c:1082:2: warning: implicit declaration of function 'DSA_get0_pqg' [-Wimplicit-function-declaration] DSA_get0_pqg(dsa, &p, &q, &g); ^ gpg_common_plug.c:1083:2: warning: implicit declaration of function 'DSA_get0_key' [-Wimplicit-function-declaration] DSA_get0_key(dsa, &pub_key, &priv_key); ^ gpg_common_plug.c:1588:5: warning: implicit declaration of function 'DSA_set0_pqg' [-Wimplicit-function-declaration] DSA_set0_pqg(dsa, p, q, g); ^ gpg_common_plug.c:1589:5: warning: implicit declaration of function 'DSA_set0_key' [-Wimplicit-function-declaration] DSA_set0_key(dsa, pub_key, priv_key); ^ 4 warnings generated. Make process completed. > On Feb 6, 2019, at 1:18 PM, Marvin Blumenröder <marvin.blumenroeder@...oo.de> wrote: > > Hello, > hopefully this is the right place to ask my questions.. > I am struggling to compile the latest version of magnum ripper/JohnTheRipper bleeding-jumbo branch on macOS Mojave 10.14.2 > always getting those errors:..file was built for archive which is not the architecture being linked (x86_64).. > > > Configure finished. Now "make -s clean && make -sj4" to compile. > > Output of the make command: > Now Running the Unit Tests > > > > > ar: creating aes.a > > ar: creating ed25519-donna.a > > ar: creating secp256k1.a > > ld: warning: ignoring file aes/aes.a, file was built for archive which is not the architecture being linked (x86_64): aes/aes.a > > ld: warning: ignoring file ed25519-donna/ed25519-donna.a, file was built for archive which is not the architecture being linked (x86_64): ed25519-donna/ed25519-donna.a > > ld: warning: ignoring file secp256k1/secp256k1.a, file was built for archive which is not the architecture being linked (x86_64): secp256k1/secp256k1.a > > Undefined symbols for architecture x86_64: > > "_ed25519_publickey", referenced from: > > _crypt_all._omp_fn.0 in tezos_fmt_plug.o > > _crypt_all._omp_fn.0 in opencl_tezos_fmt_plug.o > > "_get_AES_dec192_CBC", referenced from: > > _init in o5logon_fmt_plug.o > > "_get_AES_enc192_CBC", referenced from: > > _init in o5logon_fmt_plug.o > > "_get_AES_type_string", referenced from: > > _init in o5logon_fmt_plug.o > > "_secp256k1_context_create", referenced from: > > _crypt_all._omp_fn.0 in bitshares_fmt_plug.o > > _get_salt in electrum_fmt_plug.o > > _crypt_all._omp_fn.0 in electrum_fmt_plug.o > > _crypt_all._omp_fn.0 in opencl_electrum_modern_fmt_plug.o > > _get_salt in opencl_electrum_modern_fmt_plug.o > > "_secp256k1_context_destroy", referenced from: > > _crypt_all._omp_fn.0 in bitshares_fmt_plug.o > > _get_salt in electrum_fmt_plug.o > > _crypt_all._omp_fn.0 in electrum_fmt_plug.o > > _crypt_all._omp_fn.0 in opencl_electrum_modern_fmt_plug.o > > _get_salt in opencl_electrum_modern_fmt_plug.o > > "_secp256k1_ec_pubkey_parse", referenced from: > > _crypt_all._omp_fn.0 in bitshares_fmt_plug.o > > _get_salt in electrum_fmt_plug.o > > _get_salt in opencl_electrum_modern_fmt_plug.o > > "_secp256k1_ec_pubkey_serialize", referenced from: > > _crypt_all._omp_fn.0 in bitshares_fmt_plug.o > > "_secp256k1_ec_pubkey_tweak_mul", referenced from: > > _crypt_all._omp_fn.0 in bitshares_fmt_plug.o > > "_secp256k1_mul", referenced from: > > _crypt_all._omp_fn.0 in electrum_fmt_plug.o > > _crypt_all._omp_fn.0 in opencl_electrum_modern_fmt_plug.o > > ld: symbol(s) not found for architecture x86_64 > > collect2: error: ld returned 1 exit status > > make[1]: *** [../run/john] Error 1 > > make: *** [default] Error 2 > > I really hope someone can tell me what I am doing wrong, thanks!Marvin
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.