FENGSim icon indicating copy to clipboard operation
FENGSim copied to clipboard

After completing installation, need to add shared libraries manually.

Open fanronghong opened this issue 3 years ago • 0 comments

In ~/odt/prepost/install/gmsh_install/bin run ./gmsh, Prompting error: ./gmsh: error while loading shared libraries: libGmsh.so.3.0: cannot open shared object file: No such file or directory This lib is in ~/odt/prepost/install/gmsh_install/lib. Then run ./gmsh, Prompting error: ./gmsh: error while loading shared libraries: libTKSTEP.so.11: cannot open shared object file: No such file or directory This lib is in ~/odt/prepost/install/oce_install/lib.

So we need to add manually below

    export LD_LIBRARY_PATH=~/odt/prepost/install/oce_install/lib:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH=~/odt/prepost/install/gmsh_install/lib:$LD_LIBRARY_PATH

Similarly, before running ~/odt/prepost/install/vtk_install/bin/vtkHashSource-8.1, you need add export LD_LIBRARY_PATH=~/odt/prepost/install/vtk_install/lib:$LD_LIBRARY_PATH

fanronghong avatar Feb 10 '22 13:02 fanronghong