Bug#918667: libopenal-dev on kFreeBSD: missing dependency libsndio?
bret curtis
psi29a at gmail.com
Wed Jan 9 11:40:29 GMT 2019
Hello,
what happens if you use -lsndio when you compile? This is just out of curiosity.
Cheers,
Bret
On Tue, Jan 8, 2019 at 10:27 AM Коля Гурьев <guriev-ns at ya.ru> wrote:
>
> Package: libopenal-dev
> Version: 1:1.19.1-1
> Control: affects -1 telegram-desktop
>
> I try to build a simple example[1] found on the world wide web. It
> requires libalut or libaudio. And it uses no any header or function of
> libsndio, but I get the following error.
>
> cc openal-example.o -o openal-example -lopenal -lalut
> /usr/bin/ld: warning: libsndio.so, needed by /usr/lib/gcc/i686-kfreebsd-gnu/6/../../../i386-kfreebsd-gnu/libopenal.so, not found (try using -rpath or -rpath-link)
> /usr/lib/gcc/i686-kfreebsd-gnu/6/../../../i386-kfreebsd-gnu/libopenal.so: undefined reference to `sio_getpar'
> /usr/lib/gcc/i686-kfreebsd-gnu/6/../../../i386-kfreebsd-gnu/libopenal.so: undefined reference to `sio_write'
> /usr/lib/gcc/i686-kfreebsd-gnu/6/../../../i386-kfreebsd-gnu/libopenal.so: undefined reference to `sio_setpar'
> /usr/lib/gcc/i686-kfreebsd-gnu/6/../../../i386-kfreebsd-gnu/libopenal.so: undefined reference to `sio_close'
> /usr/lib/gcc/i686-kfreebsd-gnu/6/../../../i386-kfreebsd-gnu/libopenal.so: undefined reference to `sio_read'
> /usr/lib/gcc/i686-kfreebsd-gnu/6/../../../i386-kfreebsd-gnu/libopenal.so: undefined reference to `sio_initpar'
> /usr/lib/gcc/i686-kfreebsd-gnu/6/../../../i386-kfreebsd-gnu/libopenal.so: undefined reference to `sio_stop'
> /usr/lib/gcc/i686-kfreebsd-gnu/6/../../../i386-kfreebsd-gnu/libopenal.so: undefined reference to `sio_open'
> /usr/lib/gcc/i686-kfreebsd-gnu/6/../../../i386-kfreebsd-gnu/libopenal.so: undefined reference to `sio_start'
> collect2: error: ld returned 1 exit status
>
> The issue affects also telegram-desktop on kfreebsd-amd64[2].
>
> [1]: https://github.com/ffainelli/openal-example
> [2]: https://buildd.debian.org/status/fetch.php?pkg=telegram-desktop&arch=kfreebsd-amd64&ver=1.5.4-1&stamp=1546785287&raw=0
>
> _______________________________________________
> Pkg-games-devel mailing list
> Pkg-games-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-games-devel
More information about the Pkg-games-devel
mailing list