I downloaded LibreOffice_7.1.3_Linux_x86-64_deb_helppack_en-US.tar.gz and LibreOffice_7.1.3_Linux_x86-64_deb.tar.gz, and installed with dpkg. When I run swriter, I get the message: /usr/lib/libreoffice/program/javaldx: error while loading shared libraries: libreglo.so: cannot open shared object file: No such file or directory Warning: failed to read path from javaldx /usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libreglo.so: cannot open shared object file: No such file or directory
tar.gz are more for maintainers of distributions. Indeed, it's more a start to create a package and deal with dependencies. I think you should remove it completely and install LO from the repository of your distribution. BTW, on which distrib are you and with which version?
I'm on Ubuntu 21.04, and LibreOffice notifies me that new versions are available, so I follow the links and download them from libreoffice.org. I thought this is the mechanism for notifying the developers that there's a problem.
libreglo.so is in libreoffice7.1-ure_7.1.3.2-2_amd64.deb, which was in LibreOffice_7.1.3_Linux_x86-64_deb.tar.gz in my case.
I fixed my symbolic links (/etc/alternatives never points to the new version if left to itself!), and it works now. The /usr/bin/swriter and /bin/swriter were pointing to the wrong version.