On 03/21/2018 06:49 PM, Stuart wrote:
On 21/03/18 22:13, Bruce Dubbs wrote:
On 03/21/2018 10:45 AM, Stuart wrote:
Is there a recommended way to use MariaDB.10.2.13 in a Qt-5.10.1
build for BLFS 8.2?
Adding -sql-mysql to the Qt5 configuration script throws the
following error:
ERROR: Feature 'sql-mysql' was enabled, but the pre-condition
'libs.mysql' failed.
MariaDB had been built and installed prior to attempting a Qt5 build.
Hmm.? I do d not seem to have any problem.? I built with
./configure -top-level -prefix /opt/qt5 -sysconfdir /etc/xdg
-confirm-license -opensource -dbus-linked -openssl-linked
-system-harfbuzz -system-sqlite -nomake examples -no-rpath -sql-mysql
-skip qtwebengine
...
Checking for MySQL... yes
...
Configure summary:
Build type: linux-g++ (x86_64, CPU features: mmx sse sse2)
Configuration: use_gold_linker sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx
avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf
avx512vbmi avx512vl compile_examples enable_new_dtags f16c largefile
precompile_header rdrnd shani shared release c++11 c++14 c++1z
concurrent dbus reduce_exports reduce_relocations stl
Build options:
...
Qt Sql:
? DB2 (IBM) .............................. no
? InterBase .............................. no
? MySql .................................. yes
? OCI (Oracle) ........................... no
? ODBC ................................... yes
? PostgreSQL ............................. yes
? SQLite2 ................................ no
? SQLite ................................. yes
??? Using system provided SQLite ......... yes
? TDS (Sybase) ........................... no
...
Check for /usr/lib/libmy* .? I have:
/usr/lib/libmysqlclient.a
/usr/lib/libmysqlclient_r.so
/usr/lib/libmysqld.so.19
/usr/lib/libmysqlclient.so
/usr/lib/libmysqld.a
/usr/lib/libmysqlservices.a
/usr/lib/libmysqlclient_r.a
/usr/lib/libmysqld.so
? -- Bruce
I have the following :
-rw-r--r-- 1 root root??? 22910 Mar 21 09:00 libmysqlservices.a
-rw-r--r-- 1 root root 32578348 Mar 21 09:18 libmysqld.a
-rwxr-xr-x 1 root root 20106864 Mar 21 09:18 libmysqld.so.19
lrwxrwxrwx 1 root root?????? 13 Mar 21 09:23 libmysqlclient.so ->
libmariadb.so
lrwxrwxrwx 1 root root?????? 13 Mar 21 09:23 libmysqlclient_r.so ->
libmariadb.so
lrwxrwxrwx 1 root root?????? 18 Mar 21 09:23 libmysqlclient_r.a ->
libmariadbclient.a
lrwxrwxrwx 1 root root?????? 18 Mar 21 09:23 libmysqlclient.a ->
libmariadbclient.a
lrwxrwxrwx 1 root root?????? 15 Mar 21 09:23 libmysqld.so ->
libmysqld.so.19
That looks right. What is the output of configure? (Trim to just the
relevant part.)
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page