Re: difficulties with 3.008 PerlQt and Qt 3.3.2 / KDE 3.2.1 on Ark Linux alpha 11.1

Germain Garand <[email protected]>
Newsgroups gmane.comp.kde.devel.perl
Message-ID <[email protected]>
Le Mardi 01 Juin 2004 04:22, Gary L Greene Jr a écrit :
> On Monday 31 May 2004 08:53 pm, Germain Garand wrote:
> > Le Lundi 31 Mai 2004 21:12, Gary L Greene Jr a écrit :
> > > a_loading............Can't load '../blib/arch/auto/Qt/Qt.so' for module

> > > Qt: /usr/lib/libsmokeqt.so.1: undefined symbol:
          ^^^^^^^^^

Oh wait, I didn't see the above...
It seems your build system already has a (conflicting, not built with the same 
Qt) libsmokeqt, that gets picked up during "make test" despite of the 
LD_LIBRARY_PATH setting because it's --rpathed at the same final location 
($prefix/lib).

you need to patch the "test" rule of the root Makefile.am to LD_PRELOAD it 
then.

--- Makefile.am~        2004-06-01 09:48:05.000000000 +0100
+++ Makefile.am 2004-06-01 09:48:05.000000000 +0100
@@ -27,7 +27,7 @@
        cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs

 test:
-       cd $(top_distdir) && 
LD_LIBRARY_PATH="../../smoke/qt/.libs:@qt_libraries@" PERL_DL_NONLAZY=1 perl 
test.pl
+       cd $(top_distdir) && 
LD_PRELOAD="$(PWD)/smoke/qt/.libs/libsmokeqt.so.1.2.1" 
LD_LIBRARY_PATH="../../smoke/qt/.libs:@qt_libraries@" PERL_DL_NONLAZY=1 perl 
test.pl

 ChangeLog:
        perl cvs2cl.pl  -P -S --no-wrap -f ChangeLog.CVS


either that or specify another --prefix if it's wrong.

Germain
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.