Quantcast
Channel: MobileRead Forums - Devices
Viewing all articles
Browse latest Browse all 3393

calibre-server won't work right

$
0
0
I've been running the server on my openSUSE for over a year. Several days ago I upgraded the OS from 13.2 to openSUSE Leap 42.2 after formatting the root partition. A new calibre installation was downloaded from the web site and installed exactly as before.

The command I use to start the server is: /usr/bin/calibre-server --daemonize --url-prefix /library --port 8787 --with-library "/home/Calibre/MASTER" & which now results in the following error message:
  • sh: /opt/calibre/lib/libreadline.so.6: no version information available (required by sh)

The calibre-server didn't seem to run at first, but ps xaf | grep calibre shows this:
  • 25005 ? Sl 0:01 /opt/calibre/bin/calibre-server --daemonize --url-prefix /library --port 8787 --with-library /home/Calibre/MASTER

The calibre program will start and run without any problem. Port forwarding is right, port 8787 is open in the firewall, and now that I got my dynamic dns functioning again I and others can finally connect to http://behne.ddns.net:8787, but strangely, I cannot connect to http://localhost:8787 - the browser says Unable to connect. You think the opposite would be true between the two URL's!

Concerning the error message, the best I can figure is that there appears to be a library mismatch between the system used to create the executable program and the new system I am running the program on. This suggests three options:
  1. static linking the program
  2. using "local" copies of the libraries / force the application to use those (compatible) versions
  3. defining LD_PRELOAD to force the correct versions to be used
Number 1 is not an option for me AFAIK, I'm not interested in compiling from source or the sundry problems that will introduce. Numbers 2 and 3 are a bit beyond my personal knowledge base, and I don't like experimenting with things I don't understand. So.....

Does anyone know exactly how to accomplish numbers 2 and 3 to get rid of the annoying error message, and also how to get it working on the localhost address again?

Viewing all articles
Browse latest Browse all 3393

Latest Images

Trending Articles



Latest Images