View Single Post
Old 12-10-2016, 10:06 AM   #1
Ersatzreifen
Bibliothekar
Ersatzreifen began at the beginning.
 
Ersatzreifen's Avatar
 
Posts: 38
Karma: 10
Join Date: Jun 2011
Location: San Jose City, Philippines
Device: Galaxy Tab S w/Bookari Premium
calibre-server won't work right

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?
Ersatzreifen is offline   Reply With Quote