[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BLT2.1 & Redhat 4.0
From: |
glen e. p. ropella |
Subject: |
Re: BLT2.1 & Redhat 4.0 |
Date: |
Wed, 12 Feb 1997 21:23:16 -0700 |
Hey John,
> I finally found the time to upgrade to swarm 1.0. I figured I'd upgrade my
> tcl/tk to a newer version (I can live with the raster bug) at the same
> time. I installed the Tcl7.5/Tk4.1 off the redhat 4.0 cd. I then tried to
> compile BLT and libtclobjc-1.1b6 and found out that I was missing
> /usr/lib/libtcl.a and libtk.a. I checked and this was included in
> tcl7.4/Tk4.0 on redhat 3.0.3 and that it was still missing from
> Tcl7.6/tk4.2 on redhat 4.1 (I grabed them off the ftp site).
>
> Has anyone been able to compile these programs on a redhat 4.0+ linux
> machine. I can go back to tcl7.4/tk4.0 or compile them from sources
> myself, this just seems odd. Anyone have any ideas why this is? (Is the
> *.a lib format becoming obsolete?)
I'm using a Slackware distribution, so it won't be exactly the
same as the RedHat distribution; but, I've successfully compiled
BLT and libtclobjc without the statically linkable tcl/tk. But,
you may have to do a
% ldconfig
after installing new sharable libraries. You should be able to tell
if your ld.so.conf is wired properly by doing:
seamus:~$ less /etc/ld.so.conf
/lib
/usr/lib
/usr/local/lib
/usr/X11R6/lib
/usr/i486-linux/lib
/usr/i486-linuxaout/lib
/usr/openwin/lib
(the directories will probably be different on your machine),
and making sure that libtcl.so exists in one of those directories.
Mine just happens to look like:
seamus:~$ ls -l /usr/lib/libtcl*
lrwxrwxrwx 1 root root 11 Jan 8 12:36 /usr/lib/libtcl.so ->
libtcl.so.1*
lrwxrwxrwx 1 root root 15 Jan 8 12:36 /usr/lib/libtcl.so.1 ->
libtcl.so.1.7.5*
-r-xr-xr-x 1 root root 260031 Apr 27 1996 /usr/lib/libtcl.so.1.7.5*
and
seamus:~$ ls -l /usr/lib/libtk*
lrwxrwxrwx 1 root root 10 Jan 8 12:36 /usr/lib/libtk.so ->
libtk.so.1*
lrwxrwxrwx 1 root root 14 Jan 8 12:36 /usr/lib/libtk.so.1 ->
libtk.so.1.4.1*
-r-xr-xr-x 1 root root 543966 Apr 27 1996 /usr/lib/libtk.so.1.4.1*
If the directory in which your libtcl.so -> libtcl.so.1 -> libtcl.so.1.7.5
doesn't reside in the ld.so.conf file, you can edit that file then
run ldconfig.
BTW, Swarm will work with Tcl 7.6/Tk 4.2 if you're interested (you
just have to change one function call in BLT) and Barry found a
fix for the Raster bug, also.
glen
- BLT2.1 & Redhat 4.0, John Eikenberry [MSAI], 1997/02/12
- Re: BLT2.1 & Redhat 4.0,
glen e. p. ropella <=