Trying to Install the Linux WPS Office Port; Understanding and Resolving the Errors

From: J. <redc3ll_at_protonmail.com>
Date: Sat, 06 Jan 2024 16:59:23 UTC
Hello everyone,

I'm attempting to install the port Linux WPS Office [1], but the installation process is halted with a few error messages. As a FreeBSD/UNIX neophyte, I have difficulty understanding these errors and how to resolve them.
Being in the proper ports directory, I do: make install clean
The installation (or should I say: compilation) process is ultimately halted with these error messages:

============BEGIN QUOTE================

install -m 444 /usr/ports/devel/bsddialog/work/bsddialog-1.0.1/utility/bsddialog.1 /usr/ports/devel/bsddialog/work/stage/compat/linux/man/man1/
====> Compressing man pages (compress-man)
===> Installing for bsddialog-1.0.1
===> Checking if bsddialog is already installed
===> bsddialog-1.0.1 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of bsddialog
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1

Stop.
make[8]: stopped in /usr/ports/devel/bsddialog
*** Error code 1

Stop.
make[7]: stopped in /usr/ports/devel/bsddialog
*** Error code 1

Stop.
make[6]: stopped in /usr/ports/ports-mgmt/portconfig
*** Error code 1

Stop.
make[5]: stopped in /usr/ports/ports-mgmt/portconfig

===> Options unchanged
===> Installing for linux_base-c7-7.9.2009_1
===> Checking if linux_base-c7 is already installed
===> Registering installation for linux_base-c7-7.9.2009_1 as automatic
Installing linux_base-c7-7.9.2009_1...
pkg-static: Fail to rename /compat/linux/.pkgtemp.bin.4XYbNS1wvM7O -> /compat/linux/bin:Is a directory
ELF interpreter /lib/ld-linux.so.2 not found, error 2
Abort trap
ELF interpreter /lib64/ld-linux-x86-64.so.2 not found, error 2
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/emulators/linux_base-c7
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/emulators/linux_base-c7
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/graphics/linux-c7-png
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/linux-c7-png
*** Error code 1

Stop.
make: stopped in /usr/ports/editors/linux-wps-office============END QUOTE================

Thank you for your patience and expertise,

J.

[1] The WPS Office Port is here: https://cgit.freebsd.org/ports/tree/editors/linux-wps-office