Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Sep 2019 00:01:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 240043] audio/linux-c7-alsa: how to make it work?
Message-ID:  <bug-240043-4077-Un3oqw9Qvo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240043-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240043-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240043

--- Comment #34 from Tatsuki Makino <tatsuki_makino@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240043-4077-Un3oqw9Qvo>