In LibreOffice 4.2, I run the following to convert docx files to pdf: /opt/libreoffice4.2/program/soffice --headless --convert-to pdf --outdir ./ Doc1.xlsx The program runs and an output pdf file is created. When I run the same command on the same machine in 4.3: /opt/libreoffice4.3/program/soffice --headless --convert-to pdf --outdir ./ Doc1.xlsx the program exits with a exit code of 0, but no PDF file is created. I am running CentOS 6.5 64-bit using the 64-bit RPM's available at http://www.libreoffice.org/download/libreoffice-fresh. If it helps: /opt/libreoffice4.2/program/soffice --version LibreOffice 4.2.6.2 185f2ce4dcc34af9bd97dec29e6d42c39557298f /opt/libreoffice4.3/program/soffice --version LibreOffice 4.3.0.4 62ad5818884a2fc2e5780dd45466868d41009ec0 I have the following openjdk packages installed: java-1.7.0-openjdk-1.7.0.65-2.5.1.2.el6_5.x86_64 java-1.7.0-openjdk-devel-1.7.0.65-2.5.1.2.el6_5.x86_64 Please let me know if I can supply more information. Thanks for your help.
Hi, I can't reproduce this under Fedora 20 64-bit, with the same 4.3 build you have. (In reply to comment #0) > the program exits with a exit code of 0, but no PDF file is created. Did it output something to the terminal? Also try to remove the user profile (~/.config/libreoffice).
Thanks for your help. It doesn't output anything to the terminal when I run it. [ryan@test ~]$ /opt/libreoffice4.3/program/soffice --headless --convert-to pdf --outdir ./ Doc1.docx [ryan@test ~]$ echo $? 0 [ryan@test ~]$ I tried removing ~/.config/libreoffice, but I get the same results - no PDF is created. I confirmed that ~/.config/libreoffice is made when I run the soffice command. I tried it against a xlsx file and same results - no PDF is created. Do you have other ideas on how to narrow this down? I'm seeing this issue on a few machines that are all running either RHEL 6 or CentOS 6, both 64-bit. Thanks again.
I just tried on a Fedora 20 64-bit machine and I'm getting the same results - a PDF file is created using version 4.2, but not 4.3. Please let me know if there are other things I can do to narrow it down. One thing to note is that none of the machines are running a GUI. They are console-only access over SSH.
(In reply to comment #3) > One thing to note is that none of the machines are running a GUI. Indeed, I installed console-only Fedora 20 in a VM, and I can reproduce it. I guess it's just missing libraries.
strace was very helpful. "sudo yum install libGLU" solved the problem for me.
Thanks, I confirmed that libGLU resolved the issue in CentOS 6 too. Would it be possible to add this RPM as a dependency for installing LibreOffice over RPM? This package seems to be a new requirement in 4.3. It wasn't needed in 4.2 and earlier versions.
(In reply to comment #6) > Would it be possible to add this RPM as a dependency for installing > LibreOffice over RPM? Actually I don't think the RPMs from libreoffice.org have any dependencies (besides the gnome-integration that depends on libgnomevfs).