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

List:       kde-devel
Subject:    Re: Linking failure in kdelibs4 with libagg
From:       Lubos Lunak <l.lunak () suse ! cz>
Date:       2006-02-01 13:37:49
Message-ID: 200602011437.49586.l.lunak () suse ! cz
[Download RAW message or body]

On Wednesday 01 February 2006 10:41, Thiago Macieira wrote:
> Craig Howard wrote:
> >Has anybody seen this one before?  I'm running x86-64 on debian.  This
> > is from a fresh checkout of trunk.  I've got the libagg-dev package
> > installed. Strangely enough, there is no libagg package!  So, I don't
> > have libagg.so  Is this library designed to only be statically linked?
> > Or is that causing my problem?  I've tried configure both with and
> > without --with-pic  I tried building from source, but that did not
> > produce a shared library either.
>
> You cannot build a shared library linking to a static library. There's no
> way around it.

 Actually, strictly speaking, you can, code for shared libraries has to be 
PIC. Which is usually not the case with static libraries.

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak@suse.cz , l.lunak@kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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