Dear Sirs: I'm running FreeBSD 14.1-STABLE-HBSD, installed libreoffice-24.2.5.2.pkg using
But the missing file it's present at: /usr/local/lib/libreoffice/program
Comparing with a LibreOffice installation in another machine with Debian 12.5, the mentioned file is present at:
/usr/lib/libreoffice/
To do only a quick test, in the FreeBSD I copied the files from the original location to the location found in Debian:
And the same error. I searched the error message, found:
Thread shared-libraries.66139/
This document recommends reading:
https://man.freebsd.org/cgi/man.cgi?query=ld-elf.so
https://en.wikipedia.org/wiki/Dynamic_linker
https://en.wikipedia.org/wiki/Dynamic_loading
After reading the documents, seemed that the solution consist to tell the OS where to search the libraries (correct me if wrong, initially I thought I had to modify the path to the libraries in some Libreoffice configuration file, so asking first here). I defined:
And the same error appeared again. Added the above three lines to /usr/local/bin/soffice before the last line, the error repeated.
I tried to install LibreOffice using ports but fails with many missing dependencies. I'm a FreeBSD newbie, starting to learn it, if the fix requires advanced commands, please explain, thanks in advance
pkg install
When I run soffice
appears the error:
Code:
ld-elf.so.1: Shared object "libuno_sal.so.3" not found, required by "oosplash"
Comparing with a LibreOffice installation in another machine with Debian 12.5, the mentioned file is present at:
/usr/lib/libreoffice/
To do only a quick test, in the FreeBSD I copied the files from the original location to the location found in Debian:
sudo mkdir /usr/lib/libreoffice
sudo cp -R /usr/local/lib/libreoffice/program/* /usr/lib/libreoffice/
And the same error. I searched the error message, found:
Thread shared-libraries.66139/
This document recommends reading:
https://man.freebsd.org/cgi/man.cgi?query=ld-elf.so
https://en.wikipedia.org/wiki/Dynamic_linker
https://en.wikipedia.org/wiki/Dynamic_loading
After reading the documents, seemed that the solution consist to tell the OS where to search the libraries (correct me if wrong, initially I thought I had to modify the path to the libraries in some Libreoffice configuration file, so asking first here). I defined:
LD_LIBRARY_PATH=/usr/local/lib/libreoffice/program
LD_LIBRARY_PATH_RPATH=Y
LD_PRELOAD=/usr/local/lib/libreoffice/program
And the same error appeared again. Added the above three lines to /usr/local/bin/soffice before the last line, the error repeated.
I tried to install LibreOffice using ports but fails with many missing dependencies. I'm a FreeBSD newbie, starting to learn it, if the fix requires advanced commands, please explain, thanks in advance