Re: Building KDE 3.5.7 on Solaris Express (SXDE)

"Stefan Teleman" <[email protected]>
Newsgroups gmane.comp.kde.solaris
Message-ID <[email protected]>
On 9/19/07, morgan henning <[email protected]> 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

-- 
Stefan Teleman
KDE e.V.
[email protected]
___________________________________________________
This message is from the kde-solaris mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.