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

/usr/bin/ld: cannot find -lTK...

Kaan's picture

I keep receiving this strange warnings during the install process:

/usr/bin/ld: cannot find -lTKGeomBase
/usr/bin/ld: cannot find -lTKMath
/usr/bin/ld: cannot find -lTKG2d
/usr/bin/ld: cannot find -lTKG3d
/usr/bin/ld: cannot find -lTKTopAlgo
/usr/bin/ld: cannot find -lTKBRep
/usr/bin/ld: cannot find -lTKGeomAlgo
collect2: ld returned 1 exit status

How do I correct these?

Kaan's picture

By the way I tried both 6.5.0 and 6.5.1 versions but it is the same.

Kaan's picture

A sample output can be seen as in http://www.sudrap.org/paste/text/18180/

Denis Barbier's picture

Hello, check why TKMath can not be found, something wrong happened when it had been generated.

Kaan's picture

I edit the configure file as follows:

--- configure.orig 2011-05-31 09:50:32.000000000 +0300
+++ configure 2011-07-22 00:13:04.000000000 +0300
@@ -12884,8 +12884,8 @@
if test "xyes" = "x$HAVE_TCL"; then
if test "xyes" = "x$HAVE_TK"; then
HAVE_TCLTK=yes
- CSF_TclLibs_INCLUDES="${TCL_INCLUDE_SPEC}"
- CSF_TclTkLibs_INCLUDES="${TK_INCLUDE_SPEC}"
+ CSF_TclLibs_INCLUDES="${TCL_INCLUDE_SPEC}"
+ CSF_TclTkLibs_INCLUDES="${TK_INCLUDE_SPEC}/tk-private/generic/"
CSF_TclLibs_LIB="${TCL_LIB_SPEC}"
CSF_TclTkLibs_LIB="${TK_LIB_SPEC}"
fi

Now I can have some more files under /usr/lib but still some are missing. Any suggestions?

Kaan

Kaan's picture

I keep getting these strange warnings :( http://www.sudrap.org/paste/text/18367/