Kdevelop : cannot find -lart_lgpl_2

Tako Schotanus quintesse at palacio-cristal.com
Sat Mar 1 22:39:19 GMT 2003


I just started Kdevelop 2.1.3 (KDE 3.1) for the first time and made a
new project using the "KDE Normal" template. Didn't make any other
changes, just told it to Execute. The make failed because of the linker
that can't find art_lgpl_2 although it is in fact installed on my
system. The only thing I can see is that the library is istalled in
/usr/lib while that folder doesn't seem to appear in the list of folders
the linker uses.

Any ideas how to fix this?

Thanks,
-Tako

Make output:

cd . \ 
&& CONFIG_FILES= CONFIG_HEADERS=config.h \ 
/bin/sh ./config.status 
config.status: creating config.h 
config.status: config.h is unchanged 
config.status: executing default-1 commands 
gmake all-recursive 
gmake[1]: Entering directory `/home/tako/projects/kde/test' 
cd . && \ 
/bin/sh /home/tako/projects/kde/test/admin/missing --run automake
--foreign Makefile 
cd . && perl admin/am_edit Makefile.in 
cd . && \ 
CONFIG_HEADERS= CONFIG_LINKS= \ 
CONFIG_FILES=Makefile /bin/sh ./config.status 
fast creating Makefile 
config.status: executing default-1 commands 
gmake[1]: Leaving directory `/home/tako/projects/kde/test' 
gmake[1]: Entering directory `/home/tako/projects/kde/test' 
Making all in test 
gmake[2]: Entering directory `/home/tako/projects/kde/test/test' 
cd .. && \ 
/bin/sh /home/tako/projects/kde/test/admin/missing --run automake --gnu
test/Makefile 
cd .. && perl admin/am_edit test/Makefile.in 
cd .. && \ 
CONFIG_HEADERS= CONFIG_LINKS= \ 
CONFIG_FILES=test/Makefile /bin/sh ./config.status 
fast creating test/Makefile 
config.status: executing default-1 commands 
gmake[2]: Leaving directory `/home/tako/projects/kde/test/test' 
gmake[2]: Entering directory `/home/tako/projects/kde/test/test' 
/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor
-Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3
-Wall -fno-exceptions -fno-check-new -o test -L/usr/X11R6/lib
-L/usr/lib/qt-3.1/lib -L/usr/local/kde/lib -R /usr/local/kde/lib -R
/usr/lib/qt-3.1/lib -R /usr/X11R6/lib testview.o testdoc.o test.o main.o
test.moc.o testview.moc.o testdoc.moc.o -lkio -lkdeui -lkdecore -lqt-mt
-lpng -lz -lm -lXext -lX11 -lresolv -lSM -lICE -lpthread -lresolv 
/usr/bin/ld: cannot find -lart_lgpl_2 
collect2: ld returned 1 exit status 
gmake[2]: *** [test] Error 1 
gmake[2]: Leaving directory `/home/tako/projects/kde/test/test' 
gmake[1]: *** [all-recursive] Error 1 
gmake[1]: Leaving directory `/home/tako/projects/kde/test' 
gmake: *** [all] Error 2 
*** failed *** 

Locating the library:

tako at libertad% locate art_lgpl_2
/usr/lib/libart_lgpl_2.so.2
/usr/lib/libart_lgpl_2.so.2.3.11

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde/attachments/20030301/40e58db0/attachment.htm>


More information about the kde mailing list