Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5.33a, 10.0.10
-
None
-
None
-
Dell PowerEdge R620 (2x Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz)
Red Hat Enterprise Linux Client release 5.9 (Tikanga)
Linux 2.6.18-348.el5 #1 SMP Wed Nov 28 21:22:00 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
./BUILD/compile-pentium64-max
testing nocona ... ok
+++ /bin/rm -rf configure
+++ /bin/rm -rf CMakeCache.txt CMakeFiles/
+++ path=./BUILD
+++ . ./BUILD/autorun.sh
+++++ dirname ./BUILD/compile-pentium64-max
++++ path=./BUILD
++++ cp ./BUILD/cmake_configure.sh ./BUILD/../configure
++++ chmod +x ./BUILD/../configure
+++ CC='gcc --pipe'
+++ CFLAGS='-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized -mtune=nocona -m64 -O3 -fno-omit-frame-pointer '
+++ CXX=g++
+++ CXXFLAGS='-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized -Wno-unused-parameter -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -mtune=nocona -m64 -O3 -fno-omit-frame-pointer '
+++ CXXLDFLAGS=
+++ ./configure --prefix=/tenhw/apps/mysql --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --with-big-tables --with-plugin-aria --with-aria-tmp-tables --with-readline --with-ssl --with-plugins=max --with-embedded-server --with-libevent --with-zlib-dir=bundled --enable-local-infile --verbose
configure.pl : calling cmake /tenhw/src/mariadb/mariadb-5.5.33a -DCMAKE_INSTALL_PREFIX=/tenhw/apps/mysql -DENABLE_ASSEMBLER=1 -DWITH_EXTRA_CHARSETS=complex -DENABLE_THREAD_SAFE_CLIENT=1 -DWITH_BIG_TABLES=1 -DWITH_PLUGIN_ARIA=1 -DWITH_ARIA_TMP_TABLES=1 -DWITH_READLINE=1 -DWITH_SSL=bundled -DWITH_MAX=1 -DWITH_EMBEDDED_SERVER=1 -DWITH_LIBEVENT=1 -DWITH_ZLIB=bundled -DENABLE_LOCAL_INFILE=1 -DCMAKE_VERBOSE_MAKEFILE=1
....Dell PowerEdge R620 (2x Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz) Red Hat Enterprise Linux Client release 5.9 (Tikanga) Linux 2.6.18-348.el5 #1 SMP Wed Nov 28 21:22:00 EST 2012 x86_64 x86_64 x86_64 GNU/Linux ./BUILD/compile-pentium64-max testing nocona ... ok +++ /bin/rm -rf configure +++ /bin/rm -rf CMakeCache.txt CMakeFiles/ +++ path=./BUILD +++ . ./BUILD/autorun.sh +++++ dirname ./BUILD/compile-pentium64-max ++++ path=./BUILD ++++ cp ./BUILD/cmake_configure.sh ./BUILD/../configure ++++ chmod +x ./BUILD/../configure +++ CC='gcc --pipe' +++ CFLAGS='-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized -mtune=nocona -m64 -O3 -fno-omit-frame-pointer ' +++ CXX=g++ +++ CXXFLAGS='-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized -Wno-unused-parameter -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -mtune=nocona -m64 -O3 -fno-omit-frame-pointer ' +++ CXXLDFLAGS= +++ ./configure --prefix=/tenhw/apps/mysql --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --with-big-tables --with-plugin-aria --with-aria-tmp-tables --with-readline --with-ssl --with-plugins=max --with-embedded-server --with-libevent --with-zlib-dir=bundled --enable-local-infile --verbose configure.pl : calling cmake /tenhw/src/mariadb/mariadb-5.5.33a -DCMAKE_INSTALL_PREFIX=/tenhw/apps/mysql -DENABLE_ASSEMBLER=1 -DWITH_EXTRA_CHARSETS=complex -DENABLE_THREAD_SAFE_CLIENT=1 -DWITH_BIG_TABLES=1 -DWITH_PLUGIN_ARIA=1 -DWITH_ARIA_TMP_TABLES=1 -DWITH_READLINE=1 -DWITH_SSL=bundled -DWITH_MAX=1 -DWITH_EMBEDDED_SERVER=1 -DWITH_LIBEVENT=1 -DWITH_ZLIB=bundled -DENABLE_LOCAL_INFILE=1 -DCMAKE_VERBOSE_MAKEFILE=1 ....
Description
I compiled mariadb 5.5.33a using my own gcc (4.8.1) and libraries, everything in --prefix /tenhw/local
I used BUILD/compile-pentium64-max (thinking it is best default for my environment)
The compile finished succesfully and the 'make install' as well.
The problem is mysql_config, whose output is:
Options:
|
--cflags [-I/tenhw/apps/mysql/include/mysql -I/tenhw/apps/mysql/include/mysql/.. -Wall -Wunused -Wno-uninitialized -m64 -fno-omit-frame-pointer -g]
|
--include [-I/tenhw/apps/mysql/include/mysql -I/tenhw/apps/mysql/include/mysql/..]
|
--libs [-L/tenhw/apps/mysql/lib -lmysqlclient -lpthread -lprobes_mysql -lm -lrt -ldl]
|
--libs_r [-L/tenhw/apps/mysql/lib -lmysqlclient_r -lpthread -lprobes_mysql -lm -lrt -ldl]
|
--plugindir [/tenhw/apps/mysql/lib/plugin]
|
--socket [/tmp/mysql.sock]
|
--port [0]
|
--version [5.5.33a]
|
--libmysqld-libs [-L/tenhw/apps/mysql/lib -lmysqld]
|
--variable=VAR VAR is one of:
|
pkgincludedir [/tenhw/apps/mysql/include/mysql]
|
pkglibdir [/tenhw/apps/mysql/lib]
|
plugindir [/tenhw/apps/mysql/lib/plugin]
|
However, there is no probes_mysql library installed. I can find probes_mysql.o many times in the output during compile, but I cannot find generation of a library...
So any third party that uses mysql_config fails during compile with gcc not finding the library
/tenhw/local/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lprobes_mysql
|
collect2: error: ld returned 1 exit status
|
Attachments
Issue Links
- duplicates
-
MDEV-5793 Fedora packages built with probes_mysql lib
- Closed
- links to