Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. MySQL 5.6 plugin ( sqldriver ) build problem in Qt 5.3.2 - centos 7
Forum Updated to NodeBB v4.3 + New Features

MySQL 5.6 plugin ( sqldriver ) build problem in Qt 5.3.2 - centos 7

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 710 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rahulvishwakarma
    wrote on last edited by
    #1

    Hi to all,
    I've CentOS 7 on my computer. I've installed Qt5.3.2(from binary) and mysql5.6 ( from RPMs) successfully.
    Now I am building mysql plugin for Qt. I given this command :-
    @

    /opt/Qt5.3.2/5.3/gcc_64/bin/qmake "INCLUDEPATH+=/usr/include/mysql" "LIBS+=-L/usr/lib64/mysql -lmysqlclient_r" mysql.pro

    @
    then given this command:
    @

    make

    @
    this hangup with this error :-
    @
    /export/home/pb2/build/sb_0-12734909-1405701092.71/rpm/BUILD/mysql-5.6.20/mysql-5.6.20/sql-common/client_plugin.c:179: undefined reference to dlclose' /usr/lib64/mysql/libmysqlclient_r.a(client_plugin.c.o): In function mysql_client_plugin_deinit':
    /export/home/pb2/build/sb_0-12734909-1405701092.71/rpm/BUILD/mysql-5.6.20/mysql-5.6.20/sql-common/client_plugin.c:306: undefined reference to dlclose' /usr/lib64/mysql/libmysqlclient_r.a(client_plugin.c.o): In function mysql_load_plugin_v':
    /export/home/pb2/build/sb_0-12734909-1405701092.71/rpm/BUILD/mysql-5.6.20/mysql-5.6.20/sql-common/client_plugin.c:393: undefined reference to dlopen' /export/home/pb2/build/sb_0-12734909-1405701092.71/rpm/BUILD/mysql-5.6.20/mysql-5.6.20/sql-common/client_plugin.c:422: undefined reference to dlsym'
    /export/home/pb2/build/sb_0-12734909-1405701092.71/rpm/BUILD/mysql-5.6.20/mysql-5.6.20/sql-common/client_plugin.c:413: undefined reference to dlerror' /export/home/pb2/build/sb_0-12734909-1405701092.71/rpm/BUILD/mysql-5.6.20/mysql-5.6.20/sql-common/client_plugin.c:425: undefined reference to dlclose'
    collect2: error: ld returned 1 exit status
    make: *** [../../../../plugins/sqldrivers/libqsqlmysql.so] Error 1
    @
    how to overcome..... Thanx in advance.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved