/usr/share/staden/etc/shlib.conf is in staden-common 2.0.0+b11-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # Shared library support, so we know what to use in tcl load commands.
set lib_prefix lib
set lib_suffix .so
# Also for tcl loading, what extra bits to add to our auto_path
foreach x $auto_path {
set _p($x) 1
}
foreach x [list "/usr/share/tcltk/tklib0.6" "/usr/share/tcltk"] {
if {![info exists _p($x)]} {
set _p($x) 1
lappend auto_path $x
}
}
unset _p
# Itcl/Itk use another method. Despite the presence of a perfectly
# functioning auto_path system, instead they iterate around
# directories that are "nearby" the tclsh/stash executable itself.
#
# Instead we override it manually as this is the only sane way to get
# this working.
set env(ITCL_LIBRARY) "/usr/lib/tcltk/x86_64-linux-gnu/itcl3.4"
set env(ITK_LIBRARY) "/usr/lib/tcltk/x86_64-linux-gnu/itk3.4"
|