[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20010223: error running tclsh built on Linux with post Tcl/Tk installed

>From:  McIDAS Help Desk <address@hidden>
>Organization:  SSEC/MUG
>Keywords:  200102231903.f1NJ2xL07796 McIDAS-X Linux Tcl/Tk configure


>Are you running RedHat Linux 7.0 on any of your machines?

Yes, one.  We run a mixture of RedHat 6.2 and 7.0.  My sites run a
variety of Linux: RedHat 5.2, 6.x, 7.0; Debian, Slackware, and I think

>We're running
>6.2, but I've never seen an error like this.  Do you have any idea what
>might be causing it?

The problem occurs when the OS has a version of Tcl/Tk installed that
is newer than 8.0.x.

To get around the problem, I made a change to the Tcl/Tk configure (and
configure.in) files to force use of the copy of Tcl/Tk built by McIDAS
instead of the one that is installed in system libraries.  Here are the
comments from my change log:

tcl/unix/configure     Scriptics 8.0 version with mod for Linux
                           LD_FLAGS='-rdynamic -Wl,-rpath,${LIB_RUNTIME_DIR}'

                         for Linux section.  This "burns" in the
                         McINST_ROOT/tcl/lib into the tclsh and wish

A quick read of what Rob F. sent along smacks of the problem that I ran
into, so I think that he would benefit from the change I made.


No problem :-)

>Rob Fennimore wrote:
>> Dear MUG,
>> I am doing an install of McIDAS-X Fasttrack 7.704 under RedHat Linux 7.0
>> on an Intel PC.  Everything went fine with the sh ./mcidas7.704.sh make,
>> and the sh ./mcidas7.704.sh install up to the following error:
>> /home/mcidas/tcl/bin/tclsh: error while loading shared libraries:
>> libtcl8.0.so: cannot load shared object file: No such file or directory
>> make: *** [install gui] Error 127
>> ./mcidas7.704.sh: ERROR: 'make install.all' failed
>> However, when I checked the directory /home/mcidas/tcl/lib, the file
>> libtcl8.0.so existed there.
>> Have you encountered this error?
>> Thanks, -Rob Fennimore, NOAA/NESDIS/OSDPD/SSD/IPB    "SATEPS site, Camp
>> Springs, MD"

* Tom Yoksas                                             UCAR Unidata Program *
* (303) 497-8642 (last resort)                                  P.O. Box 3000 *
* address@hidden                                   Boulder, CO 80307 *
* Unidata WWW Service                             http://www.unidata.ucar.edu/*

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.