> > for quite some time now I can't build rosegarden on my stock
> > openSUSE 10.2 x86_64 system. It eventually fails with:
> > Linking CXX executable rosegardensequencer
> > /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld
> >: skipping incompatible /usr/lib64/qt3/lib/libqassistantclient.a when
> > searching for -lqassistantclient
> > /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld
> >: cannot find -lqassistantclient collect2: ld returned 1 exit status
> > make[2]: *** [RGbuild/rosegardensequencer] Error 1
> > make[1]: *** [RGbuild/CMakeFiles/rosegardensequencer.dir/all] Error 2
> 
> Looks like the file libqassistantclient.a is corrupted or built for another 
> architecture. Can you verify it?
> 
> $ objdump -a /usr/lib64/qt3/lib/libqassistantclient.a
> 
> It should list some .o object files, with format elf64-x86_64.

Right on the spot!

/usr/lib64/qt3/lib/libqassistantclient.a is elf32-i386
/usr/lib64/qt3/lib64/libqassistantclient.a is elf64-x86_64

And I have installed both...

> Anyway, Rosegarden does not use this library. CMake included it in the linker 
>  
> list, being smart in excess. You may move it to elsewere before invoking 
> cmake, and restore it to the original place after the compilation.

I could do that for the sake of checking whether you are right
(which I assume you are). However I would not want to do this
everytime I do compile rosegarden...

Apart from cmake being smart in excess, shouldn't cmake realize
I'm on 64bit and thus select the 64bit qt libdir ?

Or what would I have to tell cmake to make it select lib64 instead
of lib ?

I have searched around a bit but am not fluent with cmake. However
in the 'scripts' subdir I have found the file simple-makefile that
uses 'lib' for libs instead of architecture dependent lib/lib64.

Anyway, for the time being I have edited CMakeCache.txt and changed
the values of both QT_QASSISTANTCLIENT_LIBRARY:FILEPATH and
QT_QT_LIBRARY:FILEPATH to point to the 64bit versions of the
libs and that seems to do the trick.

Best,
Michael
-- 
 Technosis GmbH, Geschäftsführer: Michael Gerdau, Tobias Dittmar
 Sitz Hamburg; HRB 89145 Amtsgericht Hamburg
 Vote against SPAM - see http://www.politik-digital.de/spam/
 Michael Gerdau       email: [EMAIL PROTECTED]
 GPG-keys available on request or at public keyserver

Attachment: pgp9pBLrcPqOC.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to