[19717] in Athena Bugs

home help back first fref pref prev next nref lref last post

sun4 9.0.16: RPATH missing on Solaris 9.0 /usr/athena/lib/libesd.so.0

daemon@ATHENA.MIT.EDU (Jered J Floyd)
Tue Aug 28 17:44:30 2001

Message-Id: <200108282144.RAA09343@x15-cruise-basselope.mit.edu>
To: bugs@MIT.EDU
Date: Tue, 28 Aug 2001 17:44:28 -0400
From: Jered J Floyd <jered@MIT.EDU>

System name:		x15-cruise-basselope.mit.edu
Type and version:	Ultra-5_10 9.0.16 (with mkserv)
Display type:		afb

Shell:			/bin/athena/tcsh
Window manager:		/afs/athena/project/windowmgr/bin/vtwm.gamma

What were you trying to do?
	Run a program dynamically linked against libesd.so
	on Solaris.

What's wrong:
	The RPATH is missing in /usr/athena/lib/libesd.so.0
	so the linker cannot find libaudiofile.so.0 and the
	program cannot run. (The program has an appropriate
	RPATH, but this doesn't help.)  This is not a problem
	on Linux Athena 9.0:

	linux% objdump -x /usr/athena/lib/libesd.so.0 | \
			egrep '(RPATH|audiofile)'
	  NEEDED      libaudiofile.so.0
	  RPATH       /usr/athena/lib

	solaris% objdump -x /usr/athena/lib/libesd.so.0 | \
			egrep '(RPATH|audiofile)'
	  NEEDED      libaudiofile.so.0

	allbery@cs.cmu.edu suggests this may be a victim of
	libtool stripping the RPATH.

What should have happened:

Please describe any relevant documentation references:

home help back first fref pref prev next nref lref last post