Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics

OpenCascade 5.1 Installation on Fedora Core

OpenCascade 5.1 Installation on Fedora Core
Kunal Singh 2004/04/04 19:36
I'm trying to install OpenCascade on Fedora Core. I made the changes to the source to use sstream and std::strstream. The good news is everything compiles. But when I do the make install, it looks for libraries of the format libTKernel.0.0.0 which is there in adm/make/TKernel. But for other libraries libTKMath, the corresponding file doesn't exist. I have no idea what a .la file is either or how the library file may be generated using the .la files.

Can anybody tell me what I have to do to get these .0.0.0 files to be generated ? If I do a make all, it thinks nothing needs to be done in any of the directories.

julien tersac 2004/04/09 00:01
Shared Library lib*.so.0.0.0 were generated in my case when I ran into the make install stage.

You might want a complete rebuild of OCC. To do so, just

make clean
make all

finally when everything's OK, try .
make install

You might also want to update env.ksh or env.csh script to reflect your config

Good luck
bob 2004/04/09 07:11
Aah! a complete rebuild will take forever!

What I did (Debian Sarge) was make a symlink to the proper library. If the real lib is at /lib/, and it can't find, do:
bob@bob:/lib$ln -s
You'll probably need to be root to do this.

Theo 2004/04/20 00:15

I am attempting the same and run immediately into trouble with the first source file it tries to compile. Can you describe the system you were using? I have an FC1 base install but have yummed it to be a FC2. I am wondering if that can be a problem. Secondly, I really do not have a clear picture of the prerequisites for the OpenGL sw stack. I am running a low end ATI card, but I have several links around my system (under /usr/X11 and /usr/local/lib). And then similar situation with the MESA libraries.

So any updates on where you are would be greatly appreciated.
Kunal Singh 2004/04/27 14:11
Well, I tried a full rebuild, let it run overnight. Same problem. Apparently there seems to be some problem with libtool so that the system doesn't generate the so files for the other libs. I have to read up a little more on libtool to see whether these .la files are the same as .so files or something altogether different. Damn libtool is so complicated, when I last looked to find out which file extension is which.

I don't think your problem has anything to do with yum to FC2. I think this library hasn't been built by anyone on FC!
Kunal Singh 2004/04/27 14:49
One of the dependencies that I think is not mentioned in the documentation is Inventor which has to be downloaded from

After that
source-directory/configure –prefix= --srcdir=source-directory --with-tcl=DIR --with-tk=DIR

My version of the source required modifications to the following

Requires modifications of files to use std::ostrstream and #include<sstream>
Plugin_Macro.hxx: name##, remove ##

At the end, I think I'm running into some libtool problem. It seems the thing ships with its own 'libtool' and versijon 1.5 is installed on FC1.
Hong-Jun Kim 2010/01/27 23:14

I am sorry to bother you with this old subject about missing ".so" suffix and other libraries like "TKMath" for OpenCasCade installation.
I have the same problem and then could you please some advices if you have?

Hong-Jun Kim

Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

  • © OPEN CASCADE 2000 - 2015  |  Search  |  Contacts   |  Site map