sudharakab / pdfsizeopt

Automatically exported from code.google.com/p/pdfsizeopt
0 stars 0 forks source link

/usr/lib/libjpeg.so.62: no version information available #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Running pdfsizeopt on Ubuntu LTS 10.04 
2. with "--use-pngout=true --use-jbig2=true --use-multivalent=true" 
3. jbig2 binary from this site

What is the expected output? What do you see instead?
No errors. What is see is:

jbig2: /usr/lib/libjpeg.so.62: no version information available (required by 
jbig2)

What version of the product are you using? On what operating system?

In a Virtual Machine on Mac OS X Lion

~$ uname -a

Linux ubuntu 2.6.32-33-generic #72-Ubuntu SMP Fri Jul 29 21:07:13 UTC 2011 
x86_64 GNU/Linux

Please provide any additional information below.

~$ locate libjpeg
/usr/lib/libjpeg.a
/usr/lib/libjpeg.la
/usr/lib/libjpeg.so
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libjpeg.so
/usr/lib32/libjpeg.so
/usr/lib32/libjpeg.so.62
/usr/lib32/libjpeg.so.62.0.0
/usr/share/doc/libjpeg62
/usr/share/doc/libjpeg62-dev
/usr/share/doc/libjpeg62/README.gz
/usr/share/doc/libjpeg62/changelog.Debian.gz
/usr/share/doc/libjpeg62/changelog.gz
/usr/share/doc/libjpeg62/copyright
/usr/share/doc/libjpeg62-dev/README.Debian
/usr/share/doc/libjpeg62-dev/changelog.Debian.gz
/usr/share/doc/libjpeg62-dev/changelog.gz
/usr/share/doc/libjpeg62-dev/coderules.doc.gz
/usr/share/doc/libjpeg62-dev/copyright
/usr/share/doc/libjpeg62-dev/examples
/usr/share/doc/libjpeg62-dev/libjpeg.doc.gz
/usr/share/doc/libjpeg62-dev/structure.doc.gz
/usr/share/doc/libjpeg62-dev/examples/example.c.gz
/var/cache/apt/archives/libjpeg62-dev_6b-15ubuntu1_amd64.deb
/var/lib/dpkg/info/libjpeg62-dev.list
/var/lib/dpkg/info/libjpeg62-dev.md5sums
/var/lib/dpkg/info/libjpeg62.list
/var/lib/dpkg/info/libjpeg62.md5sums
/var/lib/dpkg/info/libjpeg62.postinst
/var/lib/dpkg/info/libjpeg62.shlibs

Original issue reported on code.google.com by tristan....@gmail.com on 16 Aug 2011 at 2:34

GoogleCodeExporter commented 9 years ago
$ ls -l /usr/lib/libjpeg.so*
lrwxrwxrwx 1 root root     17 2011-08-13 19:39 /usr/lib/libjpeg.so -> 
libjpeg.so.62.0.0
lrwxrwxrwx 1 root root     17 2011-08-13 16:10 /usr/lib/libjpeg.so.62 -> 
libjpeg.so.62.0.0
-rw-r--r-- 1 root root 146032 2010-03-12 19:09 /usr/lib/libjpeg.so.62.0.0

Original comment by tristan....@gmail.com on 16 Aug 2011 at 2:36

GoogleCodeExporter commented 9 years ago
I think I already found the solution. I was using the x86 binary from here with 
a amd64 Ubuntu. Compiled one for myself and now it isnt complaining anymore.  

Original comment by tristan....@gmail.com on 16 Aug 2011 at 2:59

GoogleCodeExporter commented 9 years ago
everyone who need the jbi2 amd64 binary. Here's a download link from my 
dropbox: http://dl.dropbox.com/u/1186286/jbig2

Original comment by tristan....@gmail.com on 16 Aug 2011 at 10:31

GoogleCodeExporter commented 9 years ago
In principle, there should be no need for separate x86 and amd64 binaries. If 
the official binary doesn't work on amd64, then this is a bug in the official 
binary.

I've just uploaded http://pdfsizeopt.googlecode.com/files/jbig2.linux , it 
should work on Linux on both x86 and amd64. It's statically linked, so it 
doesn't need any external libraries such as libjpeg. Please copy it next to 
pdfsizeopt.py, and report if it works for you. Please make sure that you are 
using that binary as jbig2, not some other binary named jbig2 on your system.

Please note that the old binary http://pdfsizeopt.googlecode.com/files/jbig2 
had been deprecated.

Original comment by pts...@gmail.com on 26 Aug 2011 at 8:26