Forum


Replies: 3   Views: 3867
Dof to pdf : odfconverter cannot find libghtread
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by smaubian  · 01-07-2013 - 19:13

Greetings,



I need to output PDf files  from phpdocx,  i'm  using the pro+ release.



 



When i try tro output a pdf the system always give me errors and do not output any file.  Looking deeper at the issue, it came from the OdfConverter command that always  results in an error



./OdfConverter: error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file: No such file or directory



the request file exists in my system in /usr/lib/libgthread-2.0.so.0,  but  Odfconverer cannot load it.  i performed an strace on OdfConverter and  it show me multiple attempt to open the file but always in the wrong directory (see below).



I'm using debian6 (uname -a : 2.6.32-5-amd64 #1 SMP Mon Feb 25 00:26:11 UTC 2013 x86_64 GNU/Linux)



 



strace log :



open("/lib/i486-linux-gnu/tls/i686/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/i486-linux-gnu/tls/i686", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/lib/i486-linux-gnu/tls/sse2/cmov/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/i486-linux-gnu/tls/sse2/cmov", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/lib/i486-linux-gnu/tls/sse2/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/i486-linux-gnu/tls/sse2", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/lib/i486-linux-gnu/tls/cmov/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/i486-linux-gnu/tls/cmov", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/lib/i486-linux-gnu/tls/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/i486-linux-gnu/tls", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/lib/i486-linux-gnu/i686/sse2/cmov/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/i486-linux-gnu/i686/sse2/cmov", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/lib/i486-linux-gnu/i686/sse2/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/i486-linux-gnu/i686/sse2", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/lib/i486-linux-gnu/i686/cmov/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/i486-linux-gnu/i686/cmov", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/lib/i486-linux-gnu/i686/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/i486-linux-gnu/i686", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/lib/i486-linux-gnu/sse2/cmov/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/i486-linux-gnu/sse2/cmov", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/lib/i486-linux-gnu/sse2/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/i486-linux-gnu/sse2", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/lib/i486-linux-gnu/cmov/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/i486-linux-gnu/cmov", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/lib/i486-linux-gnu/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/i486-linux-gnu", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/tls/i686/sse2/cmov/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu/tls/i686/sse2/cmov", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/tls/i686/sse2/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu/tls/i686/sse2", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/tls/i686/cmov/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu/tls/i686/cmov", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/tls/i686/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu/tls/i686", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/tls/sse2/cmov/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu/tls/sse2/cmov", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/tls/sse2/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu/tls/sse2", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/tls/cmov/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu/tls/cmov", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/tls/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu/tls", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/i686/sse2/cmov/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu/i686/sse2/cmov", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/i686/sse2/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu/i686/sse2", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/i686/cmov/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu/i686/cmov", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/i686/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu/i686", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/sse2/cmov/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu/sse2/cmov", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/sse2/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu/sse2", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/cmov/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu/cmov", 0xffb235d4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i486-linux-gnu/libgthread-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i486-linux-gnu", 0xffb235d4) = -1 ENOENT (No such file or directory)

writev(2, [{"/var/www/alfred/controller/phpdo"..., 62}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libgthread-2.0.so.0", 19}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or dire$

exit_group(127)                         = ?



 



 


Posted by jorgelj  · 02-07-2013 - 08:15

Hello,



As you're using AMD64 distribution I recommend you to use a 64 bits version of OdfConverter that you can download here:



http://katana.oooninja.com/w/odf-converter-integrator/download



If you prefer to use the included version, one of our test server is the same than yours (Debian Squeeze 32 bits) you need to install ia32 packages and refresh folder library.



Regards. Jorge.


Posted by smaubian  · 02-07-2013 - 10:04

Thanks for the reply, was very helpful,



unfortunaly the provided link won't install on a Debian X64.     ia32  didn't help either



It works with novel package the http://download.novell.com/protected/Summary.jsp?buildid=NADNBLbBgPY~  (you download the RPM and convert it through alien



I had to do the following to have it working on top of installing the package :

ln -s /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3

as the tool  require lidtiff.so.3 and not 4



and i installed an additional package :

 apt-get install libexif12



 



Thanks