I built BLT v2.4z on a Fedora Core 3 box and found the
libBLT24.so produced had no ldd dependencies on tcl or
tk. (See http://bebop.bigasterisk.com/scribblings/blt\)
One symptom of this is that running the Pmw.Blt demos
produce the message:
TclError: invalid command name "::blt::graph"
or something similar.
Anyway the library that's built had the following
dependencies:
[billb@tioga shared]$ ldd libBLT24.so
libc.so.6 => /lib/tls/libc.so.6 (0xb7dc3000)
/lib/ld-linux.so.2 (0xb7feb000)
When I patched the src/shared/Makefile.in and rebuilt I
produced the library with the following dependencies
which seems to work properly with Pmw.Blt.
[billb@tioga i386]$ ldd /usr/lib/libBLT24.so
libtk8.4.so => /usr/lib/libtk8.4.so (0xb7e1a000)
libtcl8.4.so => /usr/lib/libtcl8.4.so (0xb7d72000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6
(0xb7caa000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7c87000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb7c71000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7b46000)
libdl.so.2 => /lib/libdl.so.2 (0xb7b42000)
/lib/ld-linux.so.2 (0xb7feb000)
The patch is very simple; it adds @LIB_SPECS@ to the
SHLIB_LD_FLAGS line. I've uploaded the patch with this
report.
patch to enable proper dependencies in libBLT2.4.so