Re: How to build a stable version of KDE

Adriaan de Groot <[email protected]> Tue, 1 Apr 2008 00:14:41 +0200
Newsgroups gmane.comp.kde.solaris
Organization KDE e.V.
Message-ID <[email protected]>
On Monday 31 March 2008 17:17:43 Jan Hlodan wrote:
> 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

This means that your libkdecore.so is not linked properly. You need to make 
sure that it really links to libart_lgpl_2 (not just via the .la); why this 
is so I have no idea.

cd  /export/home/tester/kde/kdelibs-3.5.9/kdecore
rm libkdecore.la
gmake libkdecore.la

copy and paste the command that is executed to produce libkdecore.la; paste it 
into the command line; check it doesn't produce any special errors. Remove 
the --silent option from it. Run it again -- this time it prints out an 
extensive g++ invocation. copy-paste that to the command line, check *it* 
doesn't produce errors.

ldd .libs/libkdecore.so

check if libart is listed. 

nm .libs/libkdecore.so | grep art_free

see if it is resolved, UNDEF, or other.

If need be, add -lart_lgpl_2 to the last command line (somewhere near the end) 
and try again.

[ade]
___________________________________________________
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.