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 / Installs odd named shared libraries

Installs odd named shared libraries

Installs odd named shared libraries
Hong-Jun Kim 2010/01/27 20:56
Hi! All

I am helping my colleague to install OpenCasCade but he has a problem to install OpenCasCade shared libraries.

When he "make" and "make install", it installs some odd named libraries to install directory like "libTKernel@ libTKernel.0@ libTKernel.0.0.0* libTKernel.la*" not "libTKernel.so" as follows.
Moreover, all other libraries are not even installed at all.

------------------------------------------------------
[nieter@boron CGM]$ cd /internal/OpenCascade6.3.0/lib/
[nieter@boron lib]$ ls
libTKernel@ libTKernel.0@ libTKernel.0.0.0* libTKernel.la*
------------------------------------------------------

The following "make instal" output shows it produces "libTKernel.0.0.0" and finally do symbolic link to "libTKernel".

--------------------------------------------------------
[nieter@boron TKernel]$ make install | tee make.log
make[1]: Entering directory `/scr_boron/nieter/projects/code/
cutcell_mesher/OpenCASCADE6.3.0/ros/adm/make/TKernel'
/bin/sh ../../../make/mkinstalldirs /internal/OpenCascade6.3.0/lib
/bin/sh ../../../libtool --mode=install /usr/bin/install -c
libTKernel.la /internal/OpenCascade6.3.0/lib/libTKernel.la
/usr/bin/install -c .libs/libTKernel.0.0.0 /internal/OpenCascade6.3.0/
lib/libTKernel.0.0.0
(cd /internal/OpenCascade6.3.0/lib && rm -f libTKernel.0 && ln -s
libTKernel.0.0.0 libTKernel.0)
(cd /internal/OpenCascade6.3.0/lib && rm -f libTKernel && ln -s
libTKernel.0.0.0 libTKernel)
/usr/bin/install -c .libs/libTKernel.lai /internal/OpenCascade6.3.0/
lib/libTKernel.la
PATH="$PATH:/sbin" ldconfig -n /internal/OpenCascade6.3.0/lib
----------------------------------------------------------------------
Libraries have been installed in:
/internal/OpenCascade6.3.0/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[1]: Nothing to be done for `install-data-am'.
make[1]: Leaving directory `/scr_boron/nieter/projects/code/
cutcell_mesher/OpenCASCADE6.3.0/ros/adm/make/TKernel'
-------------------------------------------------------------

Do any body know why it happens and how to install all libraries correctly named as "lib***.so"?
He is using following versions of "libtool" and "autoconf".

---------------------------------------------------------
[nieter@boron TKMath]$ libtool --version
ltmain.sh (GNU libtool) 1.5.24 (1.1220.2.456 2007/06/24 02:25:32)
[nieter@boron TKMath]$ autoconf --version
autoconf (GNU Autoconf) 2.61
------------------------------------------------------

I attached his "config.log" file too.
Thank you in advance.

Hong-Jun
You have to be logged in to download the attached file
 
 
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