Shared library error when building external plugin
I am trying to build an external plugin using an installed ParaView master (00074fbc). This paraview is installed in my home folder (not in /usr/local
). During the build of the plugin, I have the following error:
/home/charles/Software/install/paraview/bin/vtkWrapHierarchy-pv5.7: error while loading shared libraries: libvtkWrappingTools-pv5.7.so.1: cannot open shared object file: No such file or directory
Adding the .../install/paraview/lib/
folder in my LD_LIBRARY_PATH
solve the issue.
I think the rpath of the vtkWrapHierarchy
executable is broken when installing ParaView:
$ ldd install/paraview/bin/vtkWrapHierarchy-pv5.7
linux-vdso.so.1 (0x00007fff07071000)
libc.so.6 => /usr/lib/libc.so.6 (0x000014ba9bd5a000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x000014ba9bf63000)
libvtkWrappingTools-pv5.7.so.1 => not found
Edited by Charles Gueunet