[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: Problem building koffice on an 64bit opensuse 11.0
From:       Michael Jansen <info () michael-jansen ! biz>
Date:       2008-09-05 22:51:17
Message-ID: 200809060051.17356.info () michael-jansen ! biz
[Download RAW message or body]

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 -
I/usr/include/GraphicsMagick

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.

Mike


-- 
Michael Jansen

http://www.michael-jansen.biz
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic