Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.6.8
-
None
-
macOS 10.13.6 (High Sierra) with Xcode 9.4.1
Description
I get the following linking error while trying to build current MariaDB Server 10.6 from GitHub on macOS High Sierra:
Yuliyas-MacBook-Air:buildtmp Valerii$ cmake .. -DCMAKE_INSTALL_PREFIX=/Users/Valerii/dbs/maria10.6 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_DTRACE=1
|
...
|
Yuliyas-MacBook-Air:buildtmp Valerii$ time make
|
...
|
[ 15%] Linking CXX static library libmysys_ssl.a
|
[ 15%] Built target mysys_ssl
|
[ 15%] Building C object unittest/mysys/CMakeFiles/aes-t.dir/aes-t.c.o
|
[ 15%] Linking CXX executable aes-t
|
Undefined symbols for architecture x86_64:
|
"__rdseed64_step", referenced from:
|
_IntelRDseed64 in libwolfcrypt.a(random.c.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[2]: *** [unittest/mysys/aes-t] Error 1
|
make[1]: *** [unittest/mysys/CMakeFiles/aes-t.dir/all] Error 2
|
make: *** [all] Error 2
|
 |
real 2m13.229s
|
user 1m41.005s
|
sys 0m21.225s
|