Could not open:TKTopTest

I have installed OpenCascade on RHEL 6.1 and set the env_DRAW.sh. Then I lauched DRAWEXE and typed£ºpload ALL. An error happened:Could not open:TKTopTest;reason:libTKTopest.so: cannot open shared object file: No such file or directory. Could anyone tell me how I can solve this problem? Thanks in advance.

Forum supervisor's picture

Dear cfdbooks,
You can check environment variables CASROOT (used by pload command) and
LD_LIBRARY_PATH (it should refer to the loading libs. See for details file ..\%CASROOT%\src\DrawResources\DrawPlugin).
Regards

cfdbooks's picture

Thanks. The enviroment variables CASROOT is set to ../OpenCASCADE/ros. There is no "lin" sub-directory under this directory, is there any problem? Could you tell me the location of TKTopTest.so? Thanks.

Forum supervisor's picture

Dear cfdbooks,
Location of the TKTopTest.so should be ../OpenCASCADE/ros/lin/lib/
Regards

cfdbooks's picture

It is strange, there is no"../OpenCASCADE/ros/lin/lib/" directory. There are five sub-directories under "../OpenCASCADE/ros":adm¡¢drv¡¢inc¡¢src and autom4te.cache. I don't konw why. The building process seems ok.

Forum supervisor's picture

Probably libraries were not built.
Check it, please.
Regards

cfdbooks's picture

The problem has been solved. Thanks."Make install" is necessary.