-DBUILD_TESTING=ON fails build on Mac OS X

Description

cmake -DBUILD_TESTING=ON
...
make
...
[ 4%] Linking CXX executable sm-crash-double-free
Undefined symbols for architecture x86_64:
"toku_scoped_malloc_destroy_key()", referenced from:
_main in sm-crash-double-free.cc.o
"toku_scoped_malloc_destroy_set()", referenced from:
_main in sm-crash-double-free.cc.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]: *** [util/tests/sm-crash-double-free] Error 1
make[1]: *** [util/tests/CMakeFiles/sm-crash-double-free.dir/all] Error 2
make: *** [all] Error 2

Environment

Mac OS X

Activity

Show:
George Lorch
September 3, 2015, 2:06 PM
Laurynas Biveinis
August 18, 2015, 10:57 AM
Fixed

Assignee

Unassigned

Reporter

Laurynas Biveinis

Labels

None

External issue ID

None

Freshdesk Tickets

None

Fix versions

Priority

Major