avs | 26 Dec 13:11

static tclkit for old kernel


Can anyone explain how to get a static tclkit?

The reason: I need to run tclkit on a very old comp: kernel 2.2.10.
If I use something like http://www.equi4.com/pub/tk/8.4.16/tclkit-linux-x86.gz,
it fails: error in loading shared libraries: libstdc++.so.5: cannot
open shared object file: No such file or directory. I cannot install
anything on this comp.
Therefore, I've tried static tclkit: http://www.equi4.com/pub/tk/8.4.13/tclkit-linux-x86-static.gz.
But, it also fails: FATAL: kernel too old
Segmentation fault (core dumped)

If I compile tclkit by myself in the way http://www.equi4.com/wikis/equi4/218
"Building Tclkit" - I cannot get static tclkit.
# ldd tclkit
        linux-gate.so.1 =>  (0xffffe000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7fb1000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7ec3000)
        libm.so.6 => /lib/i686/libm.so.6 (0xb7e9e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e92000)
        libc.so.6 => /lib/i686/libc.so.6 (0xb7d52000)
        /lib/ld-linux.so.2 (0xb7fd1000)
and it requires libstdc++.so.6, while the latest I can get is  libstdc+
+.so.5

So, is there a way to get/compile/whatever a STATIC tclkit, which
could run on all (or almost all) kernels?

Jeff Hobbs | 26 Dec 22:15

Re: static tclkit for old kernel


[resent to list]

On Dec 26, 2007 4:14 AM, avs <avsokol <at> gmail.com> wrote:
> Can anyone explain how to get a static tclkit?
>
> The reason: I need to run tclkit on a very old comp: kernel 2.2.10.
> If I use something like http://www.equi4.com/pub/tk/8.4.16/tclkit-linux-x86.gz,
> it fails: error in loading shared libraries: libstdc++.so.5: cannot
> open shared object file: No such file or directory. I cannot install

Try one of the ActiveTcl basekits.  They are more self-contained.
However, you will need to use an older version as we moved to kernel
2.4 recently (maybe an 8.4.15 build would work?).

Jeff


Gmane