[Pdns-users] Fwd: Re: configure: error: Did not find the mysql library dir in /usr/lib/mysql

Cliff Hayes chayes at afo.net
Thu Dec 20 14:12:33 UTC 2018


Thanks for the advice.
I did this...
dnf install mariadb-devel
...which gave me these...
mariadb-connector-c-devel-3.0.6-2.fc28.x86_64.rpm
mariadb-devel-10.2.19-1.fc28.x86_64.rpm

Unfortunately I still have the same problem.

Here are the results:

./configure --with-modules="bind gmysql" --without-lua --with-mysql-lib=/var
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... none
checking dependency style of gcc... none
checking for bison... no
checking for byacc... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking if bison is the parser generator... no
checking for flex... no
checking for lex... no
checking if the lexer is flex... no
checking whether make sets $(MAKE)... (cached) no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether we will be linking in LuaJIT... no
checking whether we will be linking in Lua... no
checking how to run the C++ preprocessor... g++ -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether g++ supports C++11 features by default... yes
checking whether we will enable compiler security checks... yes
checking whether C++ compiler handles -Werror -Wunknown-warning-option... no
checking whether C++ compiler handles -pie... yes
checking whether C++ compiler handles -fstack-protector... yes
checking whether C++ compiler handles --param ssp-buffer-size=4... yes
checking whether C++ compiler handles -D_FORTIFY_SOURCE=2... yes
checking for how to force completely read-only GOT table... -Wl,-z 
-Wl,relro -Wl,-z -Wl,now
checking for library containing inet_aton... none required
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing gethostent... none required
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to 
x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain 
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports 
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports 
shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports 
shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_gmtoff in struct tm... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking whether we will be linking in Botan 2.x... no
checking whether we will be linking in libsodium... no
checking whether we will be linking in libdecaf... no
checking for pkg-config... /usr/bin/pkg-config
checking whether compiling and linking against OpenSSL's libcrypto 
works... yes
checking /usr/include/openssl/ecdsa.h usability... yes
checking /usr/include/openssl/ecdsa.h presence... yes
checking for /usr/include/openssl/ecdsa.h... yes
checking whether NID_X9_62_prime256v1 is declared... yes
checking whether NID_secp384r1 is declared... yes
checking for ragel... no
checking for library containing clock_gettime... none required
checking for Boost headers version >= 1.35.0... yes
checking for Boost's header version... 1_66
checking for the toolset name used by Boost for g++... configure: 
WARNING: could not figure out which toolset name to use for g++

checking boost/program_options.hpp usability... yes
checking boost/program_options.hpp presence... yes
checking for boost/program_options.hpp... yes
checking for the Boost program_options library... yes
checking whether to enable unit test building... no
checking whether to enable backend unit test building... no
checking whether to enable reproducible builds.... no
checking whether user requires sqlite3... no
checking for pandoc... no
configure: WARNING: pandoc is missing, unable to build documentation and 
manpages.
checking for strcasestr... yes
checking for localtime_r... yes
checking for recvmmsg... yes
checking whether to enable verbose logging... no
checking whether to enable PKCS11 support... no
checking whether to enable experimental GSS-TSIG support... no
checking for MySQL library directory... configure: error: Did not find 
the mysql library dir in '/var/lib/mysql /var/mysql /var'

Here is what is in /var/lib/mysql:

aria_log.00000001
aria_log_control
ib_buffer_pool
ibdata1
ib_logfile0
ib_logfile1
ibtmp1
log000000000002.tokulog29
multi-master.info
mysql
mysql.sock
mysql_upgrade_info
pdns
performance_schema
#rocksdb'
tc.log
tokudb.directory
tokudb.environment
__tokudb_lock_dont_delete_me_data
__tokudb_lock_dont_delete_me_environment
__tokudb_lock_dont_delete_me_logs
__tokudb_lock_dont_delete_me_recovery
__tokudb_lock_dont_delete_me_temp
tokudb.rollback



-------- Forwarded Message --------
Subject: Re: [Pdns-users] configure: error: Did not find the mysql 
library dir in /usr/lib/mysql
Date: Thu, 20 Dec 2018 00:30:01 +0100
From: bert hubert <bert.hubert at powerdns.com>
To: Cliff Hayes <chayes at afo.net>
CC: pdns-users at mailman.powerdns.com

On Wed, Dec 19, 2018 at 05:20:31PM -0600, Cliff Hayes wrote:
> I am trying to install authoritative server 4.0.6 on Fedora 28 and am
> getting:

Hi Jeff,

Did you install the development libraries for MySQL as well? To compile, we
need more than the client library as used by applications.

> configure: error: Did not find the mysql library dir in /usr/lib/mysql

Can you check? If that doesn't work, can you copy/paste some of the
./configure output and configure.log parts that relate to MySQL?

Thanks!

	Bert



More information about the Pdns-users mailing list