PDA

View Full Version : After MySQL driver installation now also I am facing problem



codeartist
26th May 2012, 15:20
Hello Friends,

I have installed MySQL driver using following command in shell:


qmake "INCLUDEPATH+=/usr/include/mysql" "LIBS+=-L/usr/lib/i386-linux-gnu/libmysqlclient.a" mysql.pro
make
make install

After that It has been installed without any error. Now I want to run a program but not able to run it because it comes up with a problem:


./sqlexample: symbol lookup error: /home/pkr/QtSDK/Desktop/Qt/473/gcc/plugins/sqldrivers/libqsqlmysql.so: undefined symbol: mysql_server_init




Please help me guys!!!