Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-22-2009, 04:59 PM   #1
ronniet
Junior Member
ronniet began at the beginning.
 
ronniet's Avatar
 
Posts: 3
Karma: 10
Join Date: Jul 2009
Device: Sony PRS-505
Question libunrar.so for Ubuntu Jaunty

Hi,
Just got my PRS-505 today and Calibre looks just the ticket!

Unfortunately when I try to convert a CBR file I get the error:
Quote:
('OSError', u'libunrar.so: cannot open shared object file: No such file or directory')
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/calibre/parallel.py", line 960, in worker
result = work(client_socket, func, args, kwdargs)
File "/usr/lib/python2.6/dist-packages/calibre/parallel.py", line 918, in work
res = func(*args, **kargs)
File "/usr/lib/python2.6/dist-packages/calibre/ebooks/lrf/comic/convert_from.py", line 501, in do_convert
tdir = extract_comic(source)
File "/usr/lib/python2.6/dist-packages/calibre/ebooks/lrf/comic/convert_from.py", line 57, in extract_comic
extract(path_to_comic_file, tdir)
File "/usr/lib/python2.6/dist-packages/calibre/__init__.py", line 152, in extract
from calibre.libunrar import extract as rarextract
File "/usr/lib/python2.6/dist-packages/calibre/libunrar.py", line 30, in
_libunrar = load_library(_librar_name, cdll)
File "/usr/lib/python2.6/dist-packages/calibre/__init__.py", line 136, in load_library
return cdll.LoadLibrary(name+'.so')
File "/usr/lib/python2.6/ctypes/__init__.py", line 431, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python2.6/ctypes/__init__.py", line 353, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libunrar.so: cannot open shared object file: No such file or directory
Which, I assume, means I need libunrar.so. I've hunted everywhere and can't find it anywhere. It's not in the repo's so I'm at a loss...

Any help is most appreciated on this one... it's driving me crazy!
ronniet is offline   Reply With Quote
Old 07-22-2009, 05:29 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,619
Karma: 4998447
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can get libunrar.so from the binary calibre package. Just untar it an extract libunrar.so
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 07-22-2009, 05:42 PM   #3
ronniet
Junior Member
ronniet began at the beginning.
 
ronniet's Avatar
 
Posts: 3
Karma: 10
Join Date: Jul 2009
Device: Sony PRS-505
Quote:
Originally Posted by kovidgoyal View Post
You can get libunrar.so from the binary calibre package. Just untar it an extract libunrar.so
Excellent, thanks, I'll give that a try.

But where should I put the libunrar.so file?
ronniet is offline   Reply With Quote
Old 07-22-2009, 05:54 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,619
Karma: 4998447
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In any place that is searched by default for libraries on yur system

/usr/local/lib or /usr/lib for example
kovidgoyal is offline   Reply With Quote
Old 07-22-2009, 06:07 PM   #5
ronniet
Junior Member
ronniet began at the beginning.
 
ronniet's Avatar
 
Posts: 3
Karma: 10
Join Date: Jul 2009
Device: Sony PRS-505
Many thanks for that tip, worked like a charm.
ronniet is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help on Ubuntu 10.04 Lucid mickid Fictionwise eBookwise 0 06-22-2010 10:04 AM
Calibre for Ubuntu (Jaunty) bedachtm Calibre 20 02-20-2010 02:09 AM
Problem Installing Calibre on EeePC 901 (Ubuntu Jaunty) andavane Calibre 4 11-08-2009 02:05 PM
Ubuntu Jaunty: New version of calibre won't start adouma Calibre 4 10-01-2009 10:35 PM
Calibre 0.6.12 issue: libunrar.so: cannot restore segment prot after reloc MykelAlvis Calibre 3 09-15-2009 10:44 PM


All times are GMT -4. The time now is 12:45 PM.


MobileRead.com is a privately owned, operated and funded community.