[Bug 240043] audio/linux-c7-alsa: how to make it work?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 6 00:01:22 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240043

--- Comment #34 from Tatsuki Makino <tatsuki_makino at hotmail.com> ---
By the way, how does the FreeBSD Linux emulator do dlopen?

In libasound.so.2.0.0, ALSA_PLUGIN_DIR defined in the preprocessor is
hard-coded.
libasound_module_*.so is called from path of ALSA_PLUGIN_DIR.
Reference sources are alsa-lib-1.1.2/src/control/control.c,
alsa-lib-1.1.2/src/pcm/pcm.c and alsa-lib-1.1.2/src/pcm/pcm_rate.c.

libasound.so.2.0.0 installed by audio/alsa-lib has /usr/local/lib/alsa-lib.
libasound.so.2.0.0 installed by audio/linux-c7-alsa-lib has
/usr/lib64/alsa-lib.

The command below may have some meaning.
ln -s /compat/linux/usr/lib64/alsa-lib /usr/lib64/alsa-lib

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


More information about the freebsd-emulation mailing list