trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2010

autoconf qtlib problem

From: Mehmet Ă–zdemir <mehmet@...>
Date: Thu, 30 Dec 2010 10:39:05 +0200
Hi all

We are trying to build trinity for Pardus Corporate 2. While we were building 
tqtinterface we encountered below error:
...
/usr/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
...

Pardus C2 stores qt libs, headers etc. in /usr/qt/3 directory so we tried to 
set --with-qt-dir and --with-qt-libraries options but nothing changed. 
Creating a symlink of libqt-mt.so in /usr/lib prevents this error. However, 
to fix this error we made a patch that adds $(QT_LDFLAGS) to libtqt_la_LIBADD 
in Makefile.am.

I saw similar errors on email list that tells this is an autoconf problem. Is 
this problem going to be a trouble for future trinity packages?
And finally, does anyone know a more appropriate way of solving this problem?

Thanks.