When I try to use the above export path in the /opt/calibre/calibre file
calibre starts and says that the database is corrupted. It isn't as I can remove that line and it will run fine with the database in the root of the library.
here is a copy of that file. I have tried the path both as /home/scott and /home/scott/
#!/bin/sh
path=`readlink -f $0`
base=`dirname $path`
lib=$base/lib
export LD_LIBRARY_PATH=$lib:$LD_LIBRARY_PATH
export CALIBRE_OVERRIDE_DATABASE_PATH="/home/scott"
export MAGICK_HOME=$base
export MAGICK_CONFIGURE_PATH=$lib/ImageMagick-6.6.7/config
export MAGICK_CODER_MODULE_PATH=$lib/ImageMagick-6.6.7/modules-Q16/coders
export MAGICK_CODER_FILTER_PATH=$lib/ImageMagick-6.6.7/modules-Q16/filters
$base/bin/calibre "$@"
|