Subject: pkg/8678: pkgsrc/sox -- missing link option -lossaudio
To: None <>
From: None <>
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
>Originator:     Wiz
>Release:        NetBSD-1.4.1/i386, pkgsrc sup from October 23rd
System: NetBSD 1.4.1 NetBSD 1.4.1 (HIRO) #0: Tue Sep 14 19:22:33 CEST 1999 i386

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)

cd /usr/pkgsrc/audio/sox
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.