[MDEV-5185] build of 10.0.4/r3863 fails @ missing libtokuportability.so Created: 2013-10-24  Updated: 2014-05-31  Resolved: 2014-05-31

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.0.4, 5.5.33a
Fix Version/s: 5.5.38

Type: Bug Priority: Minor
Reporter: Jen L Assignee: Sergei Golubchik
Resolution: Cannot Reproduce Votes: 0
Labels: None
Environment:

uname -a
Linux jenldev.lan 3.7.10-1.16-desktop #1 SMP PREEMPT Fri May 31 20:21:23 UTC 2013 (97c14ba) x86_64 x86_64 x86_64 GNU/Linux

cd src
bzr branch lp:maria mariadb
cd mariadb
bzr revert -r3863



 Description   

make -j1 VERBOSE=1
	...
	make[2]: Leaving directory `/usr/local/src/mariadb/bld'
	make -f storage/tokudb/ft-index/ft/CMakeFiles/generate_log_code.dir/build.make storage/tokudb/ft-index/ft/CMakeFiles/generate_log_code.dir/build
	make[2]: Entering directory `/usr/local/src/mariadb/bld'
	/usr/bin/cmake -E cmake_progress_report /usr/local/src/mariadb/bld/CMakeFiles
	[ 31%] Generating log_code.cc, log_print.cc, log_header.h
	cd /usr/local/src/mariadb/bld/storage/tokudb/ft-index/ft && ./logformat .
	./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[2]: Leaving directory `/usr/local/src/mariadb/bld'
	make[1]: *** [storage/tokudb/ft-index/ft/CMakeFiles/generate_log_code.dir/all] Error 2
	make[1]: Leaving directory `/usr/local/src/mariadb/bld'
	make: *** [all] Error 2

where,

cmake .. -LAH | grep -i toku
	// Revision of tokudb.
	CMAKE_TOKUDB_REVISION:STRING=0
	// Name of libtokufractaltree.so
	LIBTOKUDB:STRING=tokufractaltree
	// Name of libtokuportability.so
	LIBTOKUPORTABILITY:STRING=tokuportability
	TOKUDB_DATA:FILEPATH=/usr/local/src/mariadb/storage/tokudb/ft-index/../tokudb.data
	TOKU_DEBUG_PARANOID:BOOL=ON
	XZ_SOURCE_DIR:FILEPATH=/usr/local/src/mariadb/storage/tokudb/ft-index/third_party/xz-4.999.9beta



 Comments   
Comment by Jen L [ 2013-10-24 ]

reading @

https://mariadb.com/kb/en/how-to-enable-tokudb-in-mariadb/#enabling-tokudb
"Starting from MariaDB 5.5.33 and MariaDB 10.0.5 TokuDB is included on those platforms that TokuDB supports.

Currently, those platforms are:

Ubuntu 12.10 "Quantal" 64-bit
Ubuntu 13.04 "Raring" 64-bit
Debian 7 "Wheezy" 64-bit
Fedora 17 64-bit
Fedora 18 64-bit"

Since I'm on an unsupported platform – Opensuse 12.3 – and since I'm not interested in it (yet) anyway, I'd prefer to DISABLE it's build or prerequisite requirement.

What's the specific method for DISABLING the src build from using/checking for tokudb and its libs?

Comment by Sergei Golubchik [ 2014-01-22 ]

To disable TokuDB plugin use

cmake -DWITHOUT_TOKUDB=1

This works for all plugins, it's not tokudb-specific.

Comment by Sergei Golubchik [ 2014-05-31 ]

MariaDB builds on SuSE 12.3, I cannot repeat the failure.

But feel free to reopen this issue and provide more info about your system. At least versions of the linker, compiler, binutils, glibc, but also everything else that you think might be relevant.

Generated at Thu Feb 08 07:02:20 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.