> libreoffice --help cd: lrwxr-xr-x 1 root wheel 34 Aug 23 02:17 libreoffice -> ../lib/libreoffice/program: No such file or directory > libreoffice --writer cd: lrwxr-xr-x 1 root wheel 34 Aug 23 02:17 libreoffice -> ../lib/libreoffice/program: No such file or directory > file `which libreoffice` /usr/local/bin/libreoffice: symbolic link to ../lib/libreoffice/program/soffice But > find /usr/local/ -name "soffice" /usr/local/lib/libreoffice/program/soffice /usr/local/bin/soffice Probably other sym-links also affected.
How do you install libreoffice? And what if you execute `/usr/local/bin/libreoffice` ?
It got installed here by pkg install libreoffice the pkg was locally built by Poudriere. The links just point to a dictionary that does not exit with FreeBSD. I created correct ones and was done with it. Really no big deal.
(In reply to p5B2E9A8F from comment #2) Thanks for the reply. Can you let us know more about the arch and version you're using? I suspect it might have some issues in the official pkg building.
Created attachment 227576 [details] Poudriere build log file (first 250 lines)
Meanwhile we have libreoffice-7.2.2.2 and this little problem is still not fixed.
Something wrong with your machine or poudriere setup which leads to broken install. I suggest to reinstall your box from scratch. Just to be sure, I've made some tests. On my own machine all symlinks are fine. fluffy@vm:~ % file `which libreoffice` /usr/local/bin/libreoffice: symbolic link to ../lib/libreoffice/program/soffice fluffy@vm:~ % fluffy@vm:~ % libreoffice --help LibreOffice 7.2.2.2 20(Build:2) Usage: soffice [argument...] argument - switches, switch parameters and document URIs (filenames). Using without special arguments: Opens the start center, if it is used without any arguments. {file} Tries to open the file (files) in the components suitable for them. {file} {macro:///Library.Module.MacroName} Opens the file and runs specified macros from the file. [skip] Same for official packages repo -- no issues with symlinks at all.