On Sun, 4 Jan 2009 03:38:50 am Jan de Groot wrote: > On Fri, 2009-01-02 at 21:42 -0500, Baho Utot wrote: > > On Friday 02 January 2009 09:22:10 pm richard terry wrote: > > > I used to be on this list till my last email address, died, so > > > re-joined. I posted this with a file attachment yesterday and it didn't > > > reach the list, so here it is again, without the file. > > > > > > I've been programming gambas3 for some months, and use a modified > > > PKGBUILD from an old one I obtained ages ago. I've compiled daily > > > updates of Gambas3 svn for the last 9 months, never failed, but now > > > won't work complaining it can't find: -lqt-mt > > > > > > These files seem to be there: > > > /opt/qt/lib/libqt-mt.prl > > > /opt/qt/lib/libqt-mt.so > > > /opt/qt/lib/libqt-mt.so.3 > > > /opt/qt/lib/libqt-mt.so.3.3 > > > /opt/qt/lib/libqt-mt.so.3.3.8 > > > > I believe your missing the static library libqt-mt.a > > > > So > > > > recompile your version of qt to have both shared and static libraries by > > adding -static to the qt PKGBUILD (qt-x11-free-3.3.8) > > > > ./configure -prefix /opt/qt -platform linux-g++$ARCH \ > > -system-zlib -qt-gif -release -shared -static -sm -nis -thread -stl \ > > -{system-lib,plugin-imgfmt-}{png,jpeg,mng} \ > > -no-g++-exceptions -plugin-sql-{mysql,psql,sqlite,odbc} > > > > OR > > > > try adding -shared to your configure line in your Gambas3 PKGBUILD file > > > > ./configure --disable-qte \ > > --prefix=/usr \ > > -shared > > > > [putolin] > > Recompiling qt to include static libs won't help a lot I think. Note > that you need to source /etc/profile.d/qt3.sh when building qt3 > packages. This seems to be the qt3.sh file, do I need to add anything else, as this dosn't obviously help: export QTDIR=/opt/qt export QT_XFT=true export PATH=$PATH:$QTDIR/bin export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/qt/lib/pkgconfig