[Libreoffice] First build error: segmentation fault on vcl

Caolán McNamara caolanm at redhat.com
Fri Oct 29 02:08:05 PDT 2010

On Fri, 2010-10-29 at 09:37 +0100, Michael Meeks wrote:
> 	The KDE / stlport nasty is really awful though; I -thought- we agreed
> to default to --without-stlport : Caolan - is that so ? 

No, the problem is probably simple. And its not the cast that KDE is
linking against libstlport.

a) There is a /usr/lib/libstlport_gcc.so in some peoples distributions.
b) We have .../solver/lib/libstlport_gcc.so which we want to link
against, but we're linking against the other libstlport 
c) When --enable-kde(something) is enabled there is some linker flag
being inserted into the start of the gcc command line to be "-L/usr/lib"

The obvious bustage is then because we're linking the kde plugin against
a different stlport than we linked everything else against. But the same
mismatch would exist if we happened to also link it against libxslt,
libxml2 etc. So disabling stlport for this specific reason is probably
the wrong thing to do.

So, the question is, where's /usr/lib coming from in the ENABLE_KDE
case, and can it be stuffed to the *end* of the compiler line and not
the start. I don't build against KDE, but I guess I could make an
exception for once and go see this for myself.


More information about the LibreOffice mailing list