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

Search the Forums
See All Topics

OCC6.3 64 bit Linux install problem

OCC6.3 64 bit Linux install problem
Neal Probert 2008/09/26 12:25
libTKernel gets built and installed, but the rest of the libs don't.

mv: cannot stat `libTKMath.0.0.0': No such file or directory
libtool: install: error: relink `' with the above command before installing it
libtool: install: warning: remember to run `libtool --finish /opt/OpenCascade3.0/lib'

Happens will all subsequent libraries.
William Jones 2008/09/30 15:22
Not just a 64 bit problem. I have experienced the same when building 32-bit libraries.
William Jones 2008/09/30 21:28

Looks like the libtool (version 1.4.3) used to build the distribution was broken. As such, the shared library extension (*.so) is not added to the output library names (hence libTKMath.0.0.0 instead of

I was able to get a successful installation using libtool 1.5.6 on my CentOS 4.6 x86_64 machine. Basically, you have to re-run `libtoolize --force` in the "ros" directory prior to running `configure`. Again, this must be done before running `configure`. For me this involved:

% cd OpenCASCADE6.3.0/ros
% libtoolize --force
% mkdir build
% cd build
% ../configure --prefix=/usr/local/pkgs/OpenCASCADE-6.3.0 --with-gl-include=/usr/include --with-gl-library=/usr/lib --x-libraries=/usr/X11R6/lib --with-xmu-include=/usr/X11R6/include/X11 --with-xmu-library=/usr/X11R6/lib --with-tcl=/usr/lib --with-tk=/usr/lib --with-java-include=/usr/java/default/include --disable-debug --enable-production --enable-draw --enable-wok CC="gcc -m32" CXX="g++ -m32"
% make
% make install

This resulted in an installation of the binaries, includes, and libraries in my "--prefix" path.

% ls /usr/local/pkgs/OpenCASCADE-6.3.0
bin config.h inc lib lin Linux src

Hope this helps others
Latest news
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android
  • Open CASCADE JT Assistant Sources

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