Problem building koffice on an 64bit opensuse 11.0

Michael Jansen info at
Sat Sep 6 00:51:17 CEST 2008

On Friday 05 September 2008 08:29:05 Thiago Macieira wrote:
> Michael Jansen wrote:
> >That fails because /usr/lib64 is not added with -L .
> It shouldn't have to be. If it's the platform default, it should be
> automatic.

Ok. I found the problem. It was the GraphicsMagick library for me. the 
PKGCONFIG() macro somehow doesn't get that module.

From GraphicsMagick.pc
Libs: -L/usr/lib64 -L/usr/lib64 -L/usr/lib -L/usr/lib -lGraphicsMagick -llcms 
-lfreetype -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lpthread

That somehow gets: 
Found Graphics Magick version 1.1.11: -L/usr/lib -lGraphicsMagick -llcms -
lfreetype -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lpthread -

As you can see -L/usr/lib64 is dropped. That get to the posted linker call 
that only contains -L/usr/lib which means (i think) the linker won't look at 
/usr/lib64. When dropping that everything works correctly.


Michael Jansen

More information about the Kde-buildsystem mailing list