Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.2(EOL), 10.3(EOL)
-
None
-
macOS 10.13.6
Description
I get the following linking error while building 10.3 from GitHub on macOS 10.13.6 High Sierra:
Yuliyas-MacBook-Air:buildtmp Valerii$ cmake .. -DCMAKE_INSTALL_PREFIX=/Users/Valerii/dbs/maria10.3 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_DTRACE=1 -DWITH_SSL=/opt/local/libexec/openssl11
|
...
|
Yuliyas-MacBook-Air:buildtmp Valerii$ time make
|
...
|
[ 39%] Building CXX object sql/CMakeFiles/sql.dir/sql_yacc_ora.cc.o
|
[ 39%] Building CXX object sql/CMakeFiles/sql.dir/threadpool_generic.cc.o
|
[ 39%] Linking CXX static library libsql.a
|
[ 40%] Built target sql
|
[ 40%] Building CXX object unittest/sql/CMakeFiles/explain_filename-t.dir/explain_filename-t.cc.o
|
[ 40%] Linking CXX executable explain_filename-t
|
Undefined symbols for architecture x86_64:
|
"_SSL_get1_peer_certificate", referenced from:
|
acl_authenticate(THD*, unsigned int) in libsql.a(sql_acl.cc.o)
|
_send_client_reply_packet in libsql.a(client.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/sql/explain_filename-t] Error 1
|
make[1]: *** [unittest/sql/CMakeFiles/explain_filename-t.dir/all] Error 2
|
make: *** [all] Error 2
|