NetBSD Problem Report #8166
Received: (qmail 10588 invoked from network); 7 Aug 1999 15:35:59 -0000
Message-Id: <19990807153556.55A50DAC@WintelKiller.HEH.Uni-Oldenburg.DE>
Date: Sat, 7 Aug 1999 17:35:56 +0200 (MEST)
From: Thilo.Manske@HEH.Uni-Oldenburg.DE
Reply-To: Thilo.Manske@HEH.Uni-Oldenburg.DE
To: gnats-bugs@gnats.netbsd.org
Subject: snd doesn't find X11 shared libraries when run on ELF systems
X-Send-Pr-Version: 3.95
>Number: 8166
>Category: pkg
>Synopsis: snd doesn't find X11 shared libraries when run on ELF systems
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Aug 07 08:50:01 +0000 1999
>Closed-Date: Mon Aug 09 17:33:28 +0000 1999
>Last-Modified: Mon Aug 09 17:34:34 +0000 1999
>Originator: Thilo Manske
>Release: doesn't matter
>Organization:
Dies ist Thilos Unix Signature! Viel Spass damit.
>Environment:
System: NetBSD WintelKiller 1.4I NetBSD 1.4I (WintelKiller) #154: Sat Aug 7 06:02:40 MEST 1999 thilo@Seti.HEH.Uni-Oldenburg.DE:/usr/src/sys/arch/i386/compile/WintelKiller i386
>Description:
snd isn't ELFified and at runtime it doesn't search ${X11BASE}/libs for
shared libaries
>How-To-Repeat:
run it on an ELF and get
Shared object "libMrm.so.1" not found
>Fix:
--- old.patch-ae Fri Aug 7 13:22:11 1998
+++ patch-ae Sat Aug 7 17:20:57 1999
@@ -10,7 +10,7 @@
+CFLAGS = -DXPM -DHAVE_OSS -I${X11BASE}/include -I${LOCALBASE}/include
+CFLAGS += -g
+
-+LIBS = -L${X11BASE}/lib -lMrm -lXm -lXpm -lXmu -lXt -lXext -lX11 -lm -lossaudio
++LIBS = -Wl,-L${X11BASE}/lib -Wl,-rpath,${X11BASE}/lib -lMrm -lXm -lXpm -lXmu -lXt -lXext -lX11 -lm -lossaudio
+CLM_HEADERS = cmus_prototypes.h cmus.h sound_types.h
+SND_HEADERS = snd.h snd-0.h snd-1.h snd-ufun.h snd-strings.h sndclm.h
+SND_X_HEADERS = snd-x0.h snd-x1.h
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: tron
State-Changed-When: Mon Aug 9 10:33:28 PDT 1999
State-Changed-Why:
The pach for the "Makefile" does the right thing now. Thanks for pointing
this out.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.