Ok... so now it works (to compile) by putting in my dependencies list libsqlite3-dev (wich i will not use ever!)<br>Why is necesary to install libmysqlclient-dev AND libsqlite3-dev if i just need mysql?<br>
<br>
But now when execute the app that needs mysql module... does not start never... and i have to kill it.<br><br>In my laptop i have Kubuntu gutsy (which is the next development version) works perfect, but i&#39;ve installed 
pyqt4.3 from repoitories...<br><br>Cheers....<br><br><div><span class="gmail_quote">2007/9/2, Andreas Pakulat &lt;<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 02.09.07 19:54:57, Gustavo A. Díaz wrote:<br>&gt; Ok, first:<br><br>Thanks, that looks good.<br><br>&gt; Second (i believe this is what you asked...):<br><br>Yes.<br><br>&gt; Checking to see if the QtSql module should be built...
<br>&gt; g++ -DQT_NO_DEBUG -DQT_SQL_LIB -I. -I/usr/mkspecs/linux-g++<br>&gt; -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtGui -I/usr/include/qt4<br>&gt; -I/usr/X11R6/include -pipe -O2 -w -D_REENTRANT cfgtest_QtSql.cpp -o
<br>&gt; cfgtest_QtSql -L/usr/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/lib -lQtSql<br>&gt; -L/usr/lib -L/usr/lib -lpq -L/usr/lib/mysql -lmysqlclient_r -lsqlite<br>&gt; -lsqlite3 -lQtCore -L/usr/lib -lfontconfig -lz -lm -pthread -
lgthread-2.0-lrt -<br>&gt; lglib-2.0 -lpthread -ldl -lQtGui -L/usr/lib -L/usr/X11R6/lib -laudio -lXt<br>&gt; -lpng -lSM -lICE -lQtCore -L/usr/lib -lz -pthread -lgthread-2.0 -lrt -<br>&gt; lglib-2.0 -lpthread -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama
<br>&gt; -lfreetype -lfontconfig -lXext -lX11 -lm -ldl -lXext -lX11 -lm -lpthread<br>&gt; /usr/bin/ld: cannot find -lsqlite3<br>&gt; collect2: ld devolvió el estado de salida 1<br>&gt;<br>&gt; Fro some reason now that changed, it shows -lsqlite3
<br><br>Are you sure that changed, without you installing something extra (like<br>a mysqlclient-dev package)? Anyway, see below.<br><br>&gt;, but i would not use sqlite module...<br>&gt;&nbsp;&nbsp;i just need mysql module. Still, does not enable mysql module for
<br>&gt; compile...<br><br>Well, that you don&#39;t want the sqlite support doesn&#39;t matter here.<br>Installing the sqlite-dev packages will make it link.<br><br>The question is why sqlite3, sqlite and mysqlclient show up in that
<br>linker line at all. Usually a program linking to QtSql shouldn&#39;t need to<br>link against the depencies of QtSql explicitly, so I guess the configure<br>script does a bit &quot;too much&quot; here. Phil?<br><br>Another way to reduce the deps of your QtSql module would be by building
<br>Qt4 yourself and disabling sqlite support completely.<br><br>Andreas<br><br>--<br>You have the body of a 19 year old.&nbsp;&nbsp;Please return it before it gets wrinkled.<br>_______________________________________________<br>PyQt mailing list&nbsp;&nbsp;&nbsp;&nbsp;
<a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br><a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote>
</div><br><br clear="all"><br>-- <br>Gustavo A. Díaz<br>GDNet Projects<br><a href="http://www.gdnet.com.ar">www.gdnet.com.ar</a>