MySQL is up and running.
What do you mean with libraries ? What libraries ?
MySQL is up and running.
What do you mean with libraries ? What libraries ?
The MySQL client libraries, that allow you to connect to MySQL server. Look for libmysqlclient.so file on your system and make sure you have the headers too.Originally Posted by probine
I installed 2 rpms: "MySQL-server...rpm" and "MySQL-client...rpm", but I cannot find libmysqlclient.so
What am I missing to install ?
libqt4-mysql.rpm or something like that?I installed 2 rpms: "MySQL-server...rpm" and "MySQL-client...rpm", but I cannot find libmysqlclient.so
What am I missing to install ?
Have a search in your packages.
Last edited by Everall; 23rd February 2006 at 11:48.
Try mysql-libs and mysql-devel.Originally Posted by probine
This are my packages I haves installed:
[root@dhcp-57106 ~]# rpm -qa | grep mysql
php-mysql-5.0.4-10
mysqlclient10-3.23.58-6
mysql-4.1.11-2
mod_auth_mysql-2.6.1-4
libdbi-dbd-mysql-0.7.1-3
mysql-devel-4.1.11-2
mysql-server-4.1.11-2
mysql-bench-4.1.11-2
I have been trying to find the mysql-libs for FC4, but I cannot...
Do I need something else ? Where can I find the mysql-libs for FC4 ?
It's probably a part of other packages. If you have mysql-devel, then it should be already installed.Originally Posted by probine
What does this output?sh Code:
$ locate mysql.h $ locate libmysqlclientTo copy to clipboard, switch view to plain text mode
This is the output of both:
[root@dhcp-57106 Qt-4.1.0]# locate mysql.h
/usr/share/apps/quanta/doc/php/ref.mysql.html
/usr/include/mysql/mysql.h
/usr/local/Trolltech/Qt-4.1.0/src/sql/drivers/mysql/qsql_mysql.h
/usr/local/Trolltech/Qt-4.1.0/include/Qt/qsql_mysql.h
/usr/local/Trolltech/Qt-4.1.0/include/QtSql/qsql_mysql.h
/home/santiago/programs/qt/src/sql/drivers/mysql/qsql_mysql.h
/home/santiago/programs/qt/include/Qt/qsql_mysql.h
/home/santiago/programs/qt/include/QtSql/qsql_mysql.h
[root@dhcp-57106 Qt-4.1.0]# locate libmysqlclient
/usr/lib/mysql/libmysqlclient_r.so.10.0.0
/usr/lib/mysql/libmysqlclient_r.so
/usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient.so.10.0.0
/usr/lib/mysql/libmysqlclient.so.14
/usr/lib/mysql/libmysqlclient_r.so.14.0.0
/usr/lib/mysql/libmysqlclient.so.10
/usr/lib/mysql/libmysqlclient_r.so.14
/usr/lib/mysql/libmysqlclient.so.14.0.0
/usr/lib/mysql/libmysqlclient_r.a
/usr/lib/mysql/libmysqlclient.so
/usr/lib/mysql/libmysqlclient_r.so.10
Then you have to add:to configure options.Qt Code:
-I /usr/include/mysql/ -L /usr/lib/mysql/To copy to clipboard, switch view to plain text mode
After configuring everything with the qt plugin as:
./configure -plugin-sql-mysql -I /usr/include/mysql/ -L /usr/lib/mysql/
Everything went fine, but according to the documentation I should then type:
make sub-plugins
But, I get this error:
[root@dhcp-57106 qt]# make sub-plugins
make: *** No rule to make target `sub-plugins'. Stop.
[root@dhcp-57106 qt]#
Try:sh Code:
$ cd $QTDIR/src $ make sub-pluginsTo copy to clipboard, switch view to plain text mode
Bookmarks