For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Installs odd named shared libraries

Hong-Jun Kim's picture

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**" not "" 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**

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/
/bin/sh ../../../make/mkinstalldirs /internal/OpenCascade6.3.0/lib
/bin/sh ../../../libtool --mode=install /usr/bin/install -c /internal/OpenCascade6.3.0/lib/
/usr/bin/install -c .libs/libTKernel.0.0.0 /internal/OpenCascade6.3.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/
PATH="$PATH:/sbin" ldconfig -n /internal/OpenCascade6.3.0/lib
Libraries have been installed in:

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/'

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

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 (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.