Details
-
Bug
-
Resolution: Done
-
Major - P3
-
1.0.2
-
None
-
None
-
Mac OS X 10.10 (Yosemite)
Description
Building on yosemite:
Making all in src/libbson
|
make[1]: Nothing to be done for `all'.
|
CCLD libmongoc-1.0.la
|
clang: warning: argument unused during compilation: '-pthread'
|
Undefined symbols for architecture x86_64:
|
"_sasl_client_done", referenced from:
|
__mongoc_sasl_destroy in libmongoc_1_0_la-mongoc-sasl.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[1]: *** [libmongoc-1.0.la] Error 1
|
make: *** [all-recursive] Error 1
|
Current workaround is to build without sasl support:
$ ./configure --enable-sasl=no
|
/usr/include/sasl/sasl.h on Yosemite indicates the version is 2.1.26. mongoc-sasl.c thinks that this should include sasl_client_done() but apparently it does not:
#if (SASL_VERSION_MAJOR >= 2) && \
|
(SASL_VERSION_MINOR >= 1) && \
|
(SASL_VERSION_STEP >= 24)
|
sasl_client_done ();
|
#endif
|