#3057 - cd-libreoffice-pdf install on Debian
Hi,
We have just untar the libreoffice package on a Debian Linux and it seem that de cde-exec command can not be execute so the library generate an empty PDF file.
Here is the error when we try to execute de cde-exec file :
~~~
root@sugar-dev04:/var/www/html/cde-libreoffice-pdf_temp# ll
total 920
-rwxrwxrwx 1 www-data www-data 909044 May 3 2014 cde-exec
-rwxrwxrwx 1 www-data www-data 1155 May 3 2014 cde.full-environment
-rwxrwxrwx 1 www-data www-data 1512 May 3 2014 cde.options
drwxrwxrwx 9 www-data www-data 4096 May 3 2014 cde-root
-rwxrwxrwx 1 www-data www-data 87 May 3 2014 cde.uname
-rwxrwxrwx 1 www-data www-data 109 May 3 2014 libreoffice4.2.cde
-rwxrwxrwx 1 www-data www-data 109 May 3 2014 libreoffice.cde
-rwxrwxrwx 1 www-data www-data 162 May 3 2014 version.txt
drwxrwxrwx 2 www-data www-data 4096 Feb 14 11:01 working
root@sugar-dev04:/var/www/html/cde-libreoffice-pdf_temp# ./cde-exec
-bash: ./cde-exec: No such file or directory
root@sugar-dev04:/var/www/html/cde-libreoffice-pdf_temp#
~~~
And the file commande print that :
~~~
root@sugar-dev04:/var/www/html/cde-libreoffice-pdf_temp# file cde-exec
cde-exec: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.9, BuildID[sha1]=0fe0ac36f02bcec07f7d705ab3dbae377cf46624, not stripped
~~~
uname of the linux :
~~~
root@sugar-dev04:/var/www/html/cde-libreoffice-pdf_temp# uname -a
Linux sugar-dev04 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux
~~~
In a centOs version here is the print out of the execution :
~~~
[root@sugar-dev03 cde-libreoffice-pdf]# ./cde-exec
CDE: Code, Data, and Environment packaging for Linux
Copyright 2010-2011 Philip Guo (pg@cs.stanford.edu)
http://www.stanford.edu/~pgbovine/cde.html
usage: cde-exec [command within cde-root/ to run]
Options
-l : Use native dynamic linker on machine (less portable but more robust)
-s : Streaming mode (ooh, mysterious!)
-v : Verbose mode (for debugging)
~~~
And the file command on centOs :
~~~
[root@sugar-dev03 cde-libreoffice-pdf]# file cde-exec
cde-exec: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0fe0ac36f02bcec07f7d705ab3dbae377cf46624, not stripped
~~~
uname of the centOs :
~~~
[root@sugar-dev03 cde-libreoffice-pdf]# uname -a
Linux sugar-dev03 3.10.0-327.28.3.el7.x86_64 #1 SMP Thu Aug 18 19:05:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
~~~
It works fine on centOs.
Do you have an idea of the error ? Or is there a spcific package for debian or a special library that is necessary ?
Best Regards.
Jérémy
7 years ago