[Bug 257696] audio/openal-soft: Fails to link with JACK enabled: ERROR: ld-elf.so.1: /usr/local/lib/libopenal.so.1: Undefined symbol "jack_error_callback"

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Aug 2021 20:31:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257696

Florian Walpen <dev@submerge.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dev@submerge.ch

--- Comment #6 from Florian Walpen <dev@submerge.ch> ---
Created attachment 227058
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227058&action=edit
Workaround for the missing symbol

I can confirm this. Had to install games/supertux2 though, none of my existing
ports actually use OpenAL, despite dependencies.

The new audio/jack version does not export the jack_error_callback symbol
anymore, at least not in the client library (libjack.so). This looks
intentional to me, as the symbol is marked optional.

My first workaround (and proof of culprit) is attached here. The nullptr
argument makes jack use its default handler, which should be fine. And it gets
supertux running.

-- 
You are receiving this mail because:
You are the assignee for the bug.