[kde-solaris] How to build a stable version of KDE

Adriaan de Groot groot at kde.org
Tue Apr 1 00:14:41 CEST 2008

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.


More information about the kde-solaris mailing list