Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-5185

build of 10.0.4/r3863 fails @ missing libtokuportability.so

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 10.0.4, 5.5.33a
    • Fix Version/s: 5.5.38
    • Component/s: None
    • 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
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            jenl Jen L added a comment -

            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?

            Show
            jenl Jen L added a comment - 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?
            Hide
            serg Sergei Golubchik added a comment -

            To disable TokuDB plugin use

            cmake -DWITHOUT_TOKUDB=1
            

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

            Show
            serg Sergei Golubchik added a comment - To disable TokuDB plugin use cmake -DWITHOUT_TOKUDB=1 This works for all plugins, it's not tokudb-specific.
            Hide
            serg Sergei Golubchik added a comment -

            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.

            Show
            serg Sergei Golubchik added a comment - 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.

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                jenl Jen L
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: