[kde-solaris] Building KDE 3.5.7 on Solaris Express (SXDE)

Stefan Teleman stefan.teleman at gmail.com
Wed Sep 19 19:26:01 CEST 2007

On 9/19/07, morgan henning <morgan at hitechtx.com> wrote:

> ld: warning: file /usr/local/lib/libstdc++.so: attempted multiple
> inclusion of file
> Undefined                       first referenced
>    symbol                             in file
> art_free(void*)                     ./.libs/libkdecore.so
> art_alloc(unsigned int)             ./.libs/libkdecore.so
> art_realloc(void*, unsigned int)    ./.libs/libkdecore.so
> ld: fatal: Symbol referencing errors. No output written to
> .libs/kde-config
> collect2: ld returned 1 exit status
> gmake[4]: *** [kde-config] Error 1
> gmake[4]: Leaving directory `/tmp/kdelibs-3.5.7/kdecore'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/tmp/kdelibs-3.5.7/kdecore'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/tmp/kdelibs-3.5.7/kdecore'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/tmp/kdelibs-3.5.7'
> gmake: *** [all] Error 2
> I am guessing these undefined symbols are in libart_lgpl_2.so, but I am
> lacking the proper syntax to tell the build where to find them.  The
> library doesn't have any permissions issues.  It's 32-bit.  My
> LD_LIBRARY_PATH is set properly.  Does anyone have some words of wisdom,
> or a post I can look back on ??  I didn't find much via Google that helped
> out, although I did find some interesting things...
> Is is safe to ignore the, "ld: warning: file /usr/local/lib/libstdc++.so:
> attempted multiple inclusion of file" warning ??

This one is just a warning, and it's harmless.

Add -lart_lgpl_2 to the link line. The linker should find it by
default since it's in /usr/lib and you are building 32-bit.


Stefan Teleman
KDE e.V.
stefan.teleman at gmail.com

More information about the kde-solaris mailing list