[14559] in Athena Bugs
Re: xplay fails on cavia-porcellus (Sparc 5, Release 8.0C)
daemon@ATHENA.MIT.EDU (Bruce R. Lewis)
Fri Aug 16 13:19:45 1996
Date: Fri, 16 Aug 1996 13:19:42 -0400
From: "Bruce R. Lewis" <brlewis@MIT.EDU>
To: dlukas@MIT.EDU
Cc: bugs@MIT.EDU, cwis-dev@MIT.EDU, katiel@MIT.EDU
In-Reply-To: "[14524] in Athena Bugs"
From: dlukas@MIT.EDU
Date: Thu, 8 Aug 1996 15:42:22 -0400
% xplay /usr/demo/SOUND/sounds/rooster.au
ld.so.1: xplay: fatal: libXm.so.3: can't open file: errno=2
Killed
Fails similarly when called from netscape.
Because I compiled this program on an 8.0I machine and those who
complained of the problem were running earlier releases, I figured that
libXm.so.3 was introduced in 8.0I.
As it turns out, ops-5, dev-sun4sys-80, has a symlink
/usr/lib/libXm.so.3 to /usr/dt/lib/libXm.so.3
This symlink doesn't exist on other 8.0I suns (athena-sun4sys-80).
Only delgado has root access to the machine, and she didn't put it
there. Was this symlink introduced and then removed at some point in
8.0 development?
Anyway, I make the dynamically-linked version run with this script, so
xplay should work for all suns starting tomorrow.
#!/bin/sh
LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH+:}/usr/dt/lib
export LD_LIBRARY_PATH
exec xplay_dyn "$@"