On Mon, 10 Jan 2000, Stephen J. Turnbull <turnbull(a)sk.tsukuba.ac.jp>
wrote:
>>>>> "Daniel" == Daniel Pittman
<daniel(a)danann.net> writes:
Daniel> This is the /wonderful/ Debian thing.
Daniel> This can't be found through any method short of
Daniel> dynamic-linking of an executable at configure time and
Daniel> looking in the output on STDERR for the cursed `consider
Daniel> relinking' thing.
Is it really Debian-only (or even Linux-only)?
Debian is the only system I know of where having the paths for ld and
the dynamic loader are different _and_ a 3D Athena library is placed,
named `libXaw.so' in the dynamic load path before the real Xaw library.
If so, you can pick it up by running
(a) /sbin/ldconfig -p | grep 'libXaw.so.6 \(libc6\).*' | head -1
(b) grep -i xaw /etc/ld.so.conf | head -1
or (c) dpkg -l xaw*
(a) and (b) are probably portable to any glibc system and possibly to
others, (c) only works on Debian. Ugly, but workable, no?
Well, yes. I will have a hack at implementing something like this and,
at the least, spitting out a warning about the problem.
AFAIK you don't have to be root to use any of those tests (where
available on the system).
Daniel> It's not actually fixable easily (thanks, Debian) as far
Daniel> as I can see.
But we only need to detect it and use explicit linking of Xaw3d (or
error and die, if getting that far means we don't know how to
explicitly link Xaw3d), right?
Well, that would make the Debian XEmacs binaries depend on the 3D
library of choice. I think that the behavior is to detect the Debian
lossage, spit out a nasty message and indicate that requesting one of
the 3D Athena varieties is needed.
It's the Debian maintainer who has to worry about how to deal
with
different libraries on different systems in the Debian release.
Well, I guess. So long as our sysadmins here don't decide to make a
shared NFS drive available to the two or three dozen Debian boxes we
have or something. If they do, it's their problem :/
Still, it's not /that/ big a deal, I guess.
Daniel
--
They always say time changes things, but
you actually have to change them yourself.
-- Andy Warhol