Using Linux Binary Compatability in FreeBSD
Following invitations to participate in Zoom meetings, I
decided to join, but faced some difficulties to use the
computer audio using my web browser.
I decided to install a zoom client. From some reasons,
the Download Center offers FreeBSD users .exe files, but I do not
care to use VirtualBox or Wine to run the client.
With the Firefox add-on *User-Agent Switcher and Manager*, I can
change my system name as sent to the server, so the Download
Center will offer me an '.rpm' package.
It is important to download '.rpm' packages and not '.deb' because
as described in Chapter 10 *Linux Binary Compatability* of the
FreeBSD Handbook, FreeBSD provides a tool named *rpm2cpio* with
which you can copy files from the '.rpm' archive to their appropriate
path under */compat/linux*.
In addition, you better add the following lines to /etc/fstab:
linprocfs /compat/linux/proc linprocfs rw 0 0
linsysfs /compat/linux/sys linsysfs rw 0 0
tmpfs /compat/linux/dev/shm tmpfs rw,mode=1777 0 0
EDIT: I've installed linux-c7 instead!
Now, having installed the package *emulators/linux_base-c7* and the
Zoom client, I hope all I have to do is:
1. Copy missing shared objects to /compat/linux/lib64
The place from which to take them is
2. Better avoid brandelf, but if you really have to copy FreeBSD object do
it as in the following example:
brandelf -t Linux libX11.so.6.3.0
3. Use /compat/linux/bin/sh to run Linux software