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

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Installation and building / OCC6.3 64 bit Linux install problem

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 `libTKMath.la' 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
Neal,

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 libTKMath.so.0.0.0).

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 env_DRAW.sh inc lib lin Linux src

Hope this helps others
 
 
Latest news
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!
  • Open CASCADE Technology 6.5.5 is available for download!

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