Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2019 23:35:30 +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-7Zz5gzSqrL@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

Tatsuki Makino <tatsuki_makino@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tatsuki_makino@hotmail.com

--- Comment #4 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
This is my knowledge I just knew recently. But, my comment is not directly
related to this bug 240043.

/usr/bin/ldd cannot be used directly to * .so on /compat/linux.
We must use /compat/linux/usr/bin/ldd. But /compat/linux/usr/bin/ldd is a b=
ash
script that tries to use bash installed in /usr/bin.
So it must be used as follows:

/compat/linux/usr/bin/bash /compat/linux/usr/bin/ldd
/compat/linux/usr/lib/libfoo.so.0

If you don't have enough libraries, pick up the rpm from the centos site and
install it.
For example, devel/linux-c7-dbus-libs requires libsystemd.so.0.
Since tar uses libarchive with a filter for rpm, it can extract rpm files as
follows:

tar -x -f systemd-libs-219-62.el7.x86_64.rpm -C /compat/linux/ --
./usr/lib64/libsystemd.so.0 ./usr/lib64/libsystemd.so.0.6.0

If you need lz4, do the following:
tar -x -f lz4-1.7.5-2.el7.x86_64.rpm -C /compat/linux/ --
./usr/lib64/liblz4.so.1 ./usr/lib64/liblz4.so.1.7.5


I wrote it here because I thought it would be insufficient to just read the
handbook :)
(The handbook is written to require a PC with centos installed.)

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



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