Calibre BSD error

Status
Not open for further replies.
Joined
May 11, 2018
Messages
6
Hi
I searched to solve this error, but I didn't.
Installing Calibre on BSD Freenas, this was the error:

Starting calibre.
Traceback (most recent call last):
File "/usr/local/bin/calibre-server", line 19, in <module>
from calibre.srv.standalone import main
File "/usr/local/lib/calibre/calibre/srv/standalone.py", line 13, in <module>
from calibre.db.legacy import LibraryDatabase
File "/usr/local/lib/calibre/calibre/db/legacy.py", line 18, in <module>
from calibre.db.backend import DB, set_global_state as backend_set_global_st
ate
File "/usr/local/lib/calibre/calibre/db/backend.py", line 14, in <module>
import apsw
ImportError: /usr/local/lib/libsqlite3.so.0: Undefined symbol "fdatasync"
usr/local/etc/rc.d/calibre: WARNING: failed to start calibre
root@calibre_1:/ #

what can I do?
Many thks to the solver!!
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
You're using this in a jail, I assume. It's a warden jail? Created through the old GUI? If so, that's your problem--warden jails are stuck on FreeBSD 11.0, which is EOL'd. You'll need to read up on iocage and create the jail that way.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
.....I'm not be able to...
Why not? Lots of us are using iocage jails, though there are definitely some quirks. One hopes most of those will be ironed out by 11.2.
 
Joined
May 11, 2018
Messages
6
solved it! the problem is in ZLIB_1.2.9
to solve it, I reinstalled libpng through calibre's jail shell with these 2 commands:
cd /usr/ports/graphics/png/
make install ALLOW_UNSUPPORTED_SYSTEM=yes

this is the font http://www.null.nl/?p=36
 
Status
Not open for further replies.
Top