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
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to