maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #06572
Re: Build fail of MariaDB10 with TokuDB enabled
Hi, darx!
On Dec 02, darx@xxxxxxxx wrote:
>
> On the (eventual) road to successfully building MariaDB10 + TokuDB,
> applying a needed src patch
>
> cd /usr/local/src/mariadb
> # BUG @
> http://www.linuxfromscratch.org/blfs/view/svn/server/mariadb.html
> sed -i "s/srv_buf_size/srv_sort_buf_size/"
> storage/innobase/row/row0log.cc
I do't know what it is (and couldn't find it on that page), but I
suppose it's innodb only, so shouldn't matter here.
> repeating, but with TokuDB build enabled,
>
> cd bld
> cmake .. \
> ... \
> - -DWITHOUT_TOKUDB=1
> + -DWITHOUT_TOKUDB=0
>
> build now fails,
> make
> ...
> [ 31%] Building CXX object storage/tokudb/ft-index/portability/CMakeFiles/tokuportability.dir/toku_time.cc.o
> Linking CXX shared library libtokuportability.so
> [ 31%] Built target tokuportability
> Scanning dependencies of target logformat
> [ 31%] Building CXX object storage/tokudb/ft-index/ft/CMakeFiles/logformat.dir/logformat.cc.o
> Linking CXX executable logformat
> [ 31%] Built target logformat
> Scanning dependencies of target generate_log_code
> [ 31%] Generating log_code.cc, log_print.cc,
> log_header.h
> ./logformat: error while loading shared libraries:
> libtokuportability.so: cannot open shared object file:
> No such file or directory
> make[2]: *** [storage/tokudb/ft-index/ft/log_code.cc]
> Error 127
> make[1]: ***
> [storage/tokudb/ft-index/ft/CMakeFiles/generate_log_code.dir/all]
> Error 2
> make: *** [all] Error 2
>
> yes, I'm aware that opensuse is not a currently "supported platform" for
> TokuDB.
If you mean this page: https://mariadb.com/kb/en/how-to-enable-tokudb-in-mariadb/
It only lists platforms where we build tokudb binaries. While we have an
opensuse builder, it's openSUSE 11.1, with gcc 4.3.2 and cmake 2.6, so
it cannot build TokuDB. That's why openSUSE is not in the list.
I don't know of any reason why TokuDB cannot be built on openSUSE,
presuming all build requirements are met. And in your case they
obviously are.
> If it's not, I'd like to keep trying to get it working, here.
Ah, wait a sec. SuSE. Cannot find .so library. This does ring a bell -
may be it's not exactly your problem, but take a look at this:
https://github.com/Tokutek/ft-index/issues/73
We have it fixed. But perhaps what you see is somehow related?
Try to run 'make VERBOSE=1' instead of 'make', there can be a clue
there. Or email the output and let me look at it.
Regards,
Sergei
Follow ups
References