Subject: Re: compiling kde3 with in-kernel threads
To: Nick Hudson <skrll@netbsd.org>
From: Joe Reed <jnr@po.cwru.edu>
List: tech-pkg
Date: 01/25/2003 16:01:13
i removed pth, recompiled and reinstalled libtool and qt3-{libs,tools}  and 
i still get the following error. 

any ideas as to how to fix it 

 --joe 

 -snip- 

/bin/sh ../libtool --mode=link --tag=CXX c++  -DNDEBUG -DNO_DEBUG -O2 -O2 
 -I/usr/pkg/include -I/usr/X11R6/include -fno-exceptions -fno-check-new  
 -ftemplate-depth-99   -Wl,-E -L/usr/X11R6/qt3/lib -Wl,-R/usr/X11R6/qt3/lib  
 -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o 
libqtmcop.la.closure libqtmcop_la_closure.lo -no-undefined -version-info 1:0 
 -L/usr/X11R6/qt3/lib -L/usr/X11R6/lib -Wl,-E -L/usr/X11R6/qt3/lib 
 -Wl,-R/usr/X11R6/qt3/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib 
 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib qiomanager.lo ../mcop/libmcop.la -lqt-mt  
 -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread
shlibtool: link: cannot find the library 
`/home/build/pkgsrc/obj/audio/arts/work.bork/.buildlink/lib/libpthread.la'
gmake[2]: *** [libqtmcop.la.closure] Error 1
gmake[2]: Leaving directory 
`/home/build/pkgsrc/obj/audio/arts/work.bork/arts-1.0.5a/qtmcop'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/home/build/pkgsrc/obj/audio/arts/work.bork/arts-1.0.5a'
gmake: *** [all] Error 2
*** Error code 2 

Stop.
make: stopped in /usr/pkgsrc/audio/arts
*** Error code 1 

 --end snip-- 

Nick Hudson writes: 

> On Saturday 25 January 2003 1:57 am, Joe Reed wrote:
>> hi! 
>> 
>> i've installed the new -current (i386) however when i recompile kde3, i
>> consistantly get the following error: 
>> 
>> shlibtool: link: cannot find the library
>> `/usr/pkgsrc/misc/kdeaddons3/work.bork/.buildlink/lib/libpthread.la'
>> gmake[3]: *** [katehtmltoolsplugin.la.closure] Error 1 
>> 
>> i add a symlink to the /usr/pkg/lib/libpthread.la in teh buildlink/lib dir
>>  and all works well, however i don't think this si the proper fix 
>> 
>> any ideas?
> 
> you should 
> 
> 	pkg_delete -r pth 
> 
> before building pkgs on an upgraded to -current machine. Obviously this will 
> probably wipe out a lot of packages. 
> 
> Nick 
>