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

Tatsuki Makino <tatsuki_mak...@hotmail.com> changed:

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

--- Comment #4 from Tatsuki Makino <tatsuki_mak...@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 bash
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.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"

Reply via email to