.so: cannot open shared object file: No such file or directoryot open: libMODELING, OCAFKERNEL, DATAEXCHANGE

Hello, guys! I cloned OCCT source code on Github and checked out tag 'V7_6_0'. Then I run make and make install successfully. However, when I run /usr/bin/draw.sh, something went wrong. Here is the output:

Draw[1]> Draw[2]> pload ALL
.so: cannot open shared object file: No such file or directoryot open: libMODELING, OCAFKERNEL, DATAEXCHANGE

All my commands are as follow:

mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_RPATH="" -DCMAKE_INSTALL_PREFIX=/usr -DUSE_FREEIMAGE=OFF -DUSE_FFMPEG=OFF -DUSE_VTK=OFF -DUSE_TBB=OFF
make
make install

Here is a part of the output by make install:

-- Up-to-date: /usr/lib/libTKXDEDRAW.so
-- Installing: /usr/lib/libTKTObjDRAW.so.7.6.0
-- Up-to-date: /usr/lib/libTKTObjDRAW.so.7
-- Set runtime path of "/usr/lib/libTKTObjDRAW.so.7.6.0" to ""
-- Up-to-date: /usr/lib/libTKTObjDRAW.so
-- Installing: /usr/lib/libTKQADraw.so.7.6.0
-- Up-to-date: /usr/lib/libTKQADraw.so.7
-- Set runtime path of "/usr/lib/libTKQADraw.so.7.6.0" to ""
-- Up-to-date: /usr/lib/libTKQADraw.so
-- Installing: /usr/bin/DRAWEXE-7.6.0
-- Up-to-date: /usr/bin/DRAWEXE
-- Set runtime path of "/usr/bin/DRAWEXE-7.6.0" to ""

Could anyone solve this problem? Many thanks!

Rick Rich's picture

How can I close this issue?