https://github.com/osquery/osquery logo
Title
g

GaneshK

11/12/2019, 4:59 AM
Hi all, i trying to compile source on my macOS 10.15 , i converted to xcode using -G Xcode option but build is failing with error below, If in case any step by step guide exists for the same, please let me know
a

alessandrogario

11/12/2019, 9:38 AM
there's a log for that step under the build folder
👍 1
t

theopolis

11/12/2019, 3:05 PM
right, @GaneshK, take a look at the log file (
./formula_logs/openssl.txt
) in your screenshot and see if there's anything indicating failure
g

GaneshK

11/12/2019, 3:21 PM
i see this in the .txt file
Undefined symbols for architecture x86_64: "_ENGINE_load_gost", referenced from: _ENGINE_load_builtin_engines in libcrypto.a(eng_all.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[6]: * [link_app.] Error 1 make[5]: * [evp_test] Error 2 make[5]: * Waiting for unfinished jobs.... make[4]: * [build_tests] Error 1 make[4]: * Waiting for unfinished jobs.... Undefined symbols for architecture x86_64: "_ENGINE_load_gost", referenced from: _ENGINE_load_builtin_engines in libcrypto.a(eng_all.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[6]: * [link_app.] Error 1 make[5]: * [openssl] Error 2 make[4]: * [build_apps] Error 1 make[3]: * [openssl-prefix/src/openssl-stamp/openssl-build] Error 2 make[2]: * [CMakeFiles/openssl.dir/all] Error 2 make[1]: * [all] Error 2
t

theopolis

11/12/2019, 3:23 PM
weird, I've seen a few OpenSSL build errors, never seen this. I do have macOS 10.15 and a few versions of Xcode. What version of Xcode are you using? I can try to reproduce if you also provide the commands/steps you took.
g

GaneshK

11/12/2019, 3:27 PM
its 11.2(11B52)
no luck yet, any help is appreciated !!
which version of Xcode you used...thinking of downgrading 😞
t

theopolis

11/13/2019, 11:43 AM
I have the same version. Do the normal build instructions work for you (if you do not use Xcode)? https://osquery.readthedocs.io/en/latest/development/building/