Load our own shared libraries if possible

This should fix #1482.
pull/1483/head
chrox 9 years ago
parent ded6b89f4c
commit bb164c1deb

@ -109,6 +109,9 @@ if [ -f "${NEWUPDATE}" ] ; then
fi
fi
# load our own shared libraries if possible
export LD_LIBRARY_PATH=${KOREADER_DIR}/libs:$LD_LIBRARY_PATH
# export trained OCR data directory
export TESSDATA_PREFIX="data"

@ -15,6 +15,9 @@ fi
# we're always starting from our working directory
cd $KOREADER_DIR
# load our own shared libraries if possible
export LD_LIBRARY_PATH=${KOREADER_DIR}/libs:$LD_LIBRARY_PATH
# export trained OCR data directory
export TESSDATA_PREFIX="data"

Loading…
Cancel
Save