NetBSD Problem Report #10446
Received: (qmail 14817 invoked from network); 26 Jun 2000 03:24:54 -0000
Message-Id: <200006260324.e5Q3OqA17115@cellwall.manumission.org>
Date: Sun, 25 Jun 2000 20:24:52 -0700 (PDT)
From: Brian de Alwis <bsd@manumission.org>
Reply-To: bsd@cs.ubc.ca
To: gnats-bugs@gnats.netbsd.org
Subject: loading errors using XMMS's plugins
X-Send-Pr-Version: 3.95
>Number: 10446
>Category: pkg
>Synopsis: loading errors using XMMS's plugins
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 26 03:25:00 +0000 2000
>Closed-Date: Sun Sep 10 12:24:46 +0000 2000
>Last-Modified: Sun Sep 10 12:24:46 +0000 2000
>Originator: Brian de Alwis
>Release: thorpej's May 26 snapshot of 1.4Z
>Organization:
>Environment:
System: NetBSD cr68894-a.crdva1.bc.wave.home.com 1.4Z NetBSD 1.4Z (GENERIC) #12: Sat May 27 16:55:41 PDT 2000 root@swinger:/u1/snapshots/src/sys/arch/i386/compile/GENERIC i386
Package: audio/xmms; installs xmms-1.0.1
>Description:
Running xmms `compiled out-of-the-box' produces the following output:
$ xmms
/usr/pkg/lib/xmms/Output/libOSS.so: Undefined PLT symbol "_oss_ioctl"
(reloc type = 7, symnum = 26)
/usr/pkg/lib/xmms/Input/libcdaudio.so: Undefined PLT symbol "_oss_ioctl"
(reloc type = 7, symnum = 30)
This symbol is in /usr/lib/libossaudio.so. Doing an `ldd' on, say
`libOSS.so' produces:
$ pwd
/usr/pkgsrc/audio/xmms/work/xmms-1.0.1/Output/OSS
$ ldd .libs/libOSS.so
.libs/libOSS.so:
-lc.12 => /usr/lib/libc.so.12
No libossaudio.so. It turns out that our pkglibtool (pkglibtool-ELF-1.2p2)
doesn't specify prereq libraries when actually building a shared-library.
And since the xmms binary isn't linked against libossaudio.so, the
shlib is not found at run-time, and there are unresolved symbols.
I'll note that we have other libraries which specify prereqs, like
/usr/X11R6/lib/libXt.so.
Maybe this is a bug with XMMS's setup? That it should specify
certain libraries as essential? Or maybe it's a problem with configure,
that isn't realizing this requirement?
>How-To-Repeat:
$ cd /usr/pkgsrc/audio/xmms; make install
$ /usr/pkg/bin/xmms
<watch the PLT errors>
>Fix:
Explicitly specify the dependent libraries? Linking by hand produces
the right ldd results; I'm not quite sure how to modify libtool
to do this though.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz
State-Changed-When: Sun Sep 10 05:23:52 PDT 2000
State-Changed-Why:
I fixed that particular problem some time ago. xmms still doesn't work, though,
for reasons unknown :(
Thanks for the PR!
>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.