Created attachment 101672 [details] Testdocument 1) Call libreoffice4.2 --headless --convert-to pdf --outdir /opt/telematik.doc --> Output: convert /opt/test/telematik.doc -> /opt/test/telematik.pdf using writer_pdf_Export --> Output file is generated as expected. 2) Call libreoffice4.3 --headless --convert-to pdf --outdir /opt/telematik.doc --> Output: <empty> --> No Output file is generated. I added the test document as attachment.
Hi, Your command is missing the actual path for the --outdir flag. For example this works for me: $ libreoffice4.3 --headless --convert-to pdf --outdir ./ telematik.doc Does it solve your problem?
The --outdir flag is not needed and does not resolve my problem. This problem occurs on a Debian 6.0 Linux 2.6.32-5-vserver-amd64 x86_64 with JDK6 The problem does not occur on a Ubuntu 12.04 Linux 3.2.0-64-generic-pae i686 with JDK7
(In reply to comment #2) > The --outdir flag is not needed and does not resolve my problem. OK, so you agree that the command you specified in the original report is not correct. As I said, it works for me (tested under Fedora 20 64-bit), so I'll set this back to UNCONFIRMED so other could try to reproduce.
Not confirmed, no crash, not widely used, regression not yet confirmed => I reduce a bit the importance for the moment.
This problem occurs also on a Debian 7.0 Linux 3.2.0-4-amd64 with JDK7. I ran the command with the --strace option. Following lines included the word error: 1356 10:22:24.828886 open("/opt/libreoffice4.3/program/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) 1356 10:22:24.828993 open("/opt/libreoffice4.3/program/../ure-link/lib/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) 1356 10:22:24.829063 open("/opt/libreoffice4.3/program/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) 1356 10:22:24.829118 open("/opt/libreoffice4.3/program/../ure-link/lib/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) 1356 10:22:24.829177 open("/opt/libreoffice4.3/program/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) 1356 10:22:24.829232 open("/opt/libreoffice4.3/program/../ure-link/lib/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) 1356 10:22:24.829291 open("/usr/lib/jvm/java-7-oracle/jre/lib/amd64/server/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) 1356 10:22:24.829351 open("/usr/lib/jvm/java-7-oracle/jre/lib/amd64/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) 1356 10:22:24.829461 open("/lib/x86_64-linux-gnu/libgpg-error.so.0", O_RDONLY) = 5
Created attachment 101733 [details] strace.log Used command: libreoffice4.3 --headless --strace --convert-to pdf /opt/test/telematik.doc
Next i tried to build openoffice 4.3.0.1 from sources. Therefore i downloaded the dependencies with the command "apt-get build-dep libreoffice". After this the pdf conversation worked with the previous installation of libreoffice. There was one library missing. I dont know which library but this solved my problem.
It works for me if I install these packages: apt-get install libxinerama1 libdbus-glib-1-2 libfontconfig1 libglu1-mesa libsm6 libgl1-mesa-swx11
(In reply to comment #8) > It works for me if I install these packages: > apt-get install libxinerama1 libdbus-glib-1-2 libfontconfig1 libglu1-mesa > libsm6 libgl1-mesa-swx11 Same issue happens on CentOS 6.5 and LibreOffice 4.3.1.2. Installing mesa-libGLU (it also pulls mesa-libGL, mesa-dri1-drivers, and mesa-dri-drivers) fixes this problem.