
Thu, 01/22/2009 - 08:29
Forums:
Hi,
When I tried to use an application which was based on OpenCASCADE 6.1, in Fedora Core 6, there is an error as following:
error while loading shared libraries: libTKernel.so: cannot open shared object file: No such file or directory.
I have already installed Open CASCADE 6.1 in Fedora Core 6 successfully. I have spent many time to solve the problem, but failed.
Could you do me a favor to give me some advices to solve the problem?
Thank you very much
Js.Hs
Mon, 01/26/2009 - 13:46
Hello John,
It seems that the location where you installed your OpenCASCADE wad not added to the environment variable LD_LIBRARY_PATH.
Take look at the scripts env.sh, env.ksh or env.csh. They will set all the necessary variables for you - maybe more things are missing.
Anyway, you could also try the following:
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/occ/lin/lib
(where, obviously "path/to/occ" should be replaced by the real path to its root directory)
Good luck!
Best regards,
Fernando