Subject: pkg/8678: pkgsrc/sox -- missing link option -lossaudio
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@danbala.ifoer.tuwien.ac.at>
List: netbsd-bugs
Date: 10/25/1999 04:10:51
>Number: 8678
>Category: pkg
>Synopsis: pkgsrc/sox is missing a link option (-lossaudio)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager (NetBSD software packages system bug manager)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 25 04:09:01 1999
>Last-Modified:
>Originator: Wiz
>Organization:
>Release: NetBSD-1.4.1/i386, pkgsrc sup from October 23rd
>Environment:
System: NetBSD hiro.xon.net 1.4.1 NetBSD 1.4.1 (HIRO) #0: Tue Sep 14 19:22:33 CEST 1999 wiz@hiro.xon.net:/usr/src/sys/arch/i386/compile/HIRO i386
>Description:
pkgsrc/sox fails to compile, since the library ossaudio is not linked
to the binary.
Also, the shell script play that comes with sox, and is installed with
it, doesn't work at all, since there is no line for NetBSD in it (only
Solaris, Linux, FreeBSD)
>How-To-Repeat:
cd /usr/pkgsrc/audio/sox
make
>Fix:
add -lossaudio to the linking step.
add a case NetBSD to the file `play'...just using the Linux entry
didn't work for me, with 8bit samples I got a message that sox failed
to set the device to 8bit. I guess a patch to sox is needed.
>Audit-Trail:
>Unformatted: