View Single Post
Old 10-30-2011, 12:30 PM   #15
audeojude
Connoisseur
audeojude ought to be getting tired of karma fortunes by now.audeojude ought to be getting tired of karma fortunes by now.audeojude ought to be getting tired of karma fortunes by now.audeojude ought to be getting tired of karma fortunes by now.audeojude ought to be getting tired of karma fortunes by now.audeojude ought to be getting tired of karma fortunes by now.audeojude ought to be getting tired of karma fortunes by now.audeojude ought to be getting tired of karma fortunes by now.audeojude ought to be getting tired of karma fortunes by now.audeojude ought to be getting tired of karma fortunes by now.audeojude ought to be getting tired of karma fortunes by now.
 
Posts: 80
Karma: 489964
Join Date: Oct 2011
Location: Deep South
Device: 4 or 5 generations of kindles
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 "$@"
audeojude is offline   Reply With Quote