<html><div style='background-color:'><DIV>
<P>You need to link against pthread and dl libraries. Add -lpthread -ldl to your compile line.<BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>&gt;From: root <RUDI@YEAH.CO.AT>
<DIV></DIV>&gt;To: VTKUsers <VTKUSERS@PUBLIC.KITWARE.COM>
<DIV></DIV>&gt;Subject: [vtkusers] linking errors - suse linux 7.2 and the current release of vtk 
<DIV></DIV>&gt;Date: Mon, 03 Sep 2001 03:31:40 +0200 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Hello! 
<DIV></DIV>&gt;I am trying to compile an example-file from the public.kitware - 
<DIV></DIV>&gt;website. Whilst doing this the linker reports following error: 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;bash-2.05# c++ -o vtk vtk_test.cpp -lVTKCommon -lVTKGraphics -lGL 
<DIV></DIV>&gt;/usr/local/lib/libVTKCommon.so: undefined reference to `dlerror' 
<DIV></DIV>&gt;/usr/local/lib/libVTKCommon.so: undefined reference to `pthread_create' 
<DIV></DIV>&gt;/usr/local/lib/libVTKCommon.so: undefined reference to `dlclose' 
<DIV></DIV>&gt;/usr/local/lib/libVTKCommon.so: undefined reference to `dlopen' 
<DIV></DIV>&gt;/usr/local/lib/libVTKCommon.so: undefined reference to `dlsym' 
<DIV></DIV>&gt;/usr/local/lib/libVTKCommon.so: undefined reference to `pthread_join' 
<DIV></DIV>&gt;collect2: ld returned 1 exit status 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;bash-2.05# uname -a 
<DIV></DIV>&gt;Linux linux 2.4.4-64GB-SMP #1 SMP Wed May 16 01:20:45 GMT 2001 i686 
<DIV></DIV>&gt;unknown 
<DIV></DIV>&gt;Suse Linux 7.2 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Does anybody know this problem. I built my vtk-lib with the following 
<DIV></DIV>&gt;commands: 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;./configure --with-shared 
<DIV></DIV>&gt;make 
<DIV></DIV>&gt;make install 
<DIV></DIV>&gt;I edited the user.make file properly. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Thanx in advance 
<DIV></DIV>&gt;rudi 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;_______________________________________________ 
<DIV></DIV>&gt;This is the private VTK discussion list. 
<DIV></DIV>&gt;Please keep messages on-topic. Check the FAQ at: 
<DIV></DIV>&gt;Follow this link to subscribe/unsubscribe: 
<DIV></DIV>&gt;http://public.kitware.com/mailman/listinfo/vtkusers 
<DIV></DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>