Building and running example applications: Error while loading shard libraries

Hello all,

I am currently attempting to build some of the examples that came with paraview. Specifically, Clone1 and Clone2. I ma able to build and link successfully using cmake. However, when I go to run the application, I get an error stating:

“error while loading shared libraries: cannot open shared object file: No such file or directory”

I find this odd because I am able to build and run paraview. I believe that I have a setting issue but I am not sure which setting could cause this error. Any thoughts on what could cause this issue?

It is working fine on ArchLinux with paraview master.

Can you precise your OS and your version of ParaView sources ?


I am running Ubuntu 16.04 and I have the latest version of paraview.

I do not think it is an issue with paraview but rather an issue with my settings

by latest version, do you mean master or v5.6.0 ?

In any case, a quick fix would be to do the following :
LD_LIBRARY_PATH=/path/to/paraview/build/lib ./paraview_revised