[CentOS] Cannot find Tcl library(Sort of OT)

Mark LaPierre marklapier at aol.com
Wed Jan 16 01:55:31 UTC 2013

On 01/14/2013 10:15 AM, lhecking at users.sourceforge.net wrote:
>> Okay so that means I should use:
>> --with-tcl-libs=/usr/lib
>> --with-tcl-inc=/usr/include
>> --with-tcl-lib-name=tcl.h
>> no?
>   Those are default locations/names and should be found anyway. Check the
>   generated config.log file to find out why exactly they are not.

I ran this:

./configure --with-tcl-libs=/usr/lib --with-tcl-inc=/usr/include 

I got this:

checking for tcl.h library... no
configure: error: Cannot find Tcl library

Here's what I found at the end of in config.log:

configure:2805: checking for tcl.h library
configure:2815: gcc -o conftest    conftest.c   -lSM -lICE  -lX11 -lXi 
-lXext -lXmu -lXt   -ldl -lm -L/usr/lib -ltcl.h 1>&5
/usr/bin/ld: cannot find -lXmu
collect2: ld returned 1 exit status
configure: failed program was:
#line 2808 "configure"
#include "confdefs.h"

int main() {
  char Tcl_NewStringObj(); Tcl_NewStringObj();
; return 0; }

So, what do I do now?

    ^ ^  Mark LaPierre
Registerd Linux user No #267004

More information about the CentOS mailing list