maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #01820
Re: Excluding plugins when building MariaDB 10.1
Hi, Kolbe!
On Sep 03, Kolbe Kegel wrote:
> Hi!
>
> I'm trying to build MariaDB 10.1 on OS X.
>
> cmake ../server/ -DBUILD_CONFIG=mysql_release -DWITH_SSL=system -DCMAKE_CXX_FLAGS:STRING='-stdlib=libstdc++' -DPLUGIN_TOKUDB=NO -DPLUGIN_OQGRAPH=NO -DWITH_EMBEDDED_SERVER:BOOL=OFF -DWITH_WSREP=OFF
>
> The build is failing on tokudb code even though I am trying to avoid building the TokuDB plugin. What gives?
>
> Linking CXX shared library libft.dylib
> Undefined symbols for architecture x86_64:
> "std::__1::__vector_base_common<true>::__throw_length_error() const", referenced from:
> toku::dmt<klpair_struct, klpair_struct*, toku::klpair_dmtwriter>::verify() const in bndata.cc.o
> "std::__1::__vector_base_common<true>::__throw_out_of_range() const", referenced from:
> toku::dmt<klpair_struct, klpair_struct*, toku::klpair_dmtwriter>::verify() const in bndata.cc.o
> toku::dmt<klpair_struct, klpair_struct*, toku::klpair_dmtwriter>::verify_internal(toku::dmt_internal::subtree const&, std::__1::vector<bool, std::__1::allocator<bool> >*) const in bndata.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]: *** [storage/tokudb/ft-index/ft/libft.dylib] Error 1
> make[1]: *** [storage/tokudb/ft-index/ft/CMakeFiles/ft.dir/all] Error 2
> make: *** [all] Error 2
What MariaDB version do you have?
I've just tried this exactly command line on OSX on 10.1 - worked as
expected, TokuDB was not built.
Regards,
Sergei
Follow ups
References