diff --git a/gramps/gramps.sh.in b/gramps/gramps.sh.in index 9cf50d138..90ae53cd8 100644 --- a/gramps/gramps.sh.in +++ b/gramps/gramps.sh.in @@ -8,7 +8,7 @@ export PYTHONPATH=$GRAMPSDIR export GRAMPSI18N=@prefix@/share/locale if [ -f /usr/X11R6/lib/libX11.so ] ; then - export LIB_PRELOAD=/usr/X11R6/lib/libX11.so + export LD_PRELOAD=/usr/X11R6/lib/libX11.so fi @PYTHON@ $GRAMPSDIR/gramps.py $*