[vtkusers] linking errors - suse linux 7.2 and the current release of vtk

root rudi at yeah.co.at
Sun Sep 2 21:31:40 EDT 2001


Hello!
I am trying to compile an example-file from the public.kitware -
website. Whilst doing this the linker reports following error:


bash-2.05# c++ -o vtk vtk_test.cpp -lVTKCommon -lVTKGraphics -lGL
/usr/local/lib/libVTKCommon.so: undefined reference to `dlerror'
/usr/local/lib/libVTKCommon.so: undefined reference to `pthread_create'
/usr/local/lib/libVTKCommon.so: undefined reference to `dlclose'
/usr/local/lib/libVTKCommon.so: undefined reference to `dlopen'
/usr/local/lib/libVTKCommon.so: undefined reference to `dlsym'
/usr/local/lib/libVTKCommon.so: undefined reference to `pthread_join'
collect2: ld returned 1 exit status

bash-2.05# uname -a                                        
Linux linux 2.4.4-64GB-SMP #1 SMP Wed May 16 01:20:45 GMT 2001 i686
unknown
Suse Linux 7.2

Does anybody know this problem. I built my vtk-lib with the following
commands:

./configure --with-shared
make
make install
I edited the user.make file properly.


Thanx in advance
rudi




More information about the vtkusers mailing list