swarm-support
[Top][All Lists]
Advanced

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

Re: Long suffering of Redhat 4.1 user with tcl7.6/tk4.2


From: Mattias V. Bertelsen
Subject: Re: Long suffering of Redhat 4.1 user with tcl7.6/tk4.2
Date: Thu, 17 Apr 1997 00:09:02 -0500 (CDT)


On Wed, 16 Apr 1997, Paul Johnson wrote:

> /usr/lib/libtcl.so
> :undefined reference to 'dlerror'
> :undefined reference to 'dlopen'
> :undefined reference to 'dlsym'
> ERROR 1

All you have to do to fix this is to add "-ldl" to the gcc command line,
and it will get past this.  This is from the newer TCL's dynamic object
loading functionality, which requires libdl.so.

> ------------------------------------------ ---------------------
> 
> error: TkExtra (instance)
> Can't find a usable init.tcl in the following directories: 
>     /usr/local/lib/tcl7.5 ./lib/tcl7.5 //tcl7.5/library /swarmapps/library
> This probably means that Tcl wasn't installed properly.
> 
>     while executing
> "error $msg"
>     (procedure "init" line 29)
>     invoked from within
> "init"
> 
> ------------------------------------------------------------------

This I'm not sure about, but it does have something to do with your tcl
installation.  If you've installed your own tcl7.6 and tk4.2, the stuff
will all be below /usr/local (If you used the defaults).  Problem is,
you've probably still got the original redhat installation in there, which
goes in /usr/lib/tcl* or /usr/lib/tk*.  Try running the command 

locate init.tcl

and see how many you have and where they are.  


Hope this helps!

Mattias V. Bertelsen


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]