[vtkusers] linux configure/compilation problem with CMake load shared object.

Dongbai Guo guodongbai at gmail.com
Wed Mar 16 09:41:05 EST 2005


I am using Fedora and VTK4.2 and the latest CMake.

The configuration is as following:
BUILD_EXAMPLES                   
OFF                                         
BUILD_SHARED_LIBS                
OFF                                         
CMAKE_BACKWARDS_COMPATIBILITY    
2.0                                         
CMAKE_BUILD_TYPE                                                              

CMAKE_INSTALL_PREFIX             
/data/dev/public/vtk/linux_install-4.2      
VTK_DATA_ROOT                    
/data/dev/public/vtk/VTKData-4.2            
VTK_USE_HYBRID                   
OFF                                         
VTK_USE_PARALLEL                 
OFF                                         
VTK_USE_PATENTED                 
ON                                          
VTK_USE_RENDERING                
ON                                          
VTK_WRAP_JAVA                    
OFF                                         
VTK_WRAP_PYTHON                  
OFF                                         
VTK_WRAP_TCL                     
OFF                                        


Got error when running configuration:

CMake Error: Error in cmake code at
/data/dev/public/vtk/vtk-4.2/CMake/vtkLoadCMakeExtensions.cmake:7:
LOAD_COMMAND Attempt to load the library
/data/dev/public/vtk/vtk-4.2/CMake/libcmVTK_WRAP_TCL2.so failed. Additional
error info is:
/data/dev/public/vtk/vtk-4.2/CMake/libcmVTK_WRAP_TCL2.so: failed to map
segment from shared object: Operation not permitted

CMake Error: Error in cmake code at
/data/dev/public/vtk/vtk-4.2/CMake/vtkLoadCMakeExtensions.cmake:17:
A command failed during the invocation of macro
"VTK_LOAD_SINGLE_CMAKE_EXTENSION".

Loading VTK command VTK_WRAP_TCL2 - failed



More information about the vtkusers mailing list