re-add ld_lib_path to opensrf bashrc
authorBill Erickson <berick@esilibrary.com>
Fri, 23 Mar 2012 13:19:01 +0000 (09:19 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 23 Mar 2012 13:19:01 +0000 (09:19 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
installer/squeeze/eg_squeeze_installer.sh

index f24a5d9..929521e 100755 (executable)
@@ -81,7 +81,8 @@ cp $BASE_DIR/evergreen-rsyslog.conf /etc/rsyslog.d/evergreen.conf
 # Create opensrf user and set up environment
 if [ ! "$(grep ^opensrf: /etc/passwd)" ]; then
     useradd -m -s /bin/bash opensrf
-    echo 'export PATH=/openils/bin:$PATH' >> /home/opensrf/.bashrc
+    echo 'export PATH=/openils/bin:$PATH
+export LD_LIBRARY_PATH=/openils/lib:/usr/local/lib:/usr/local/lib/dbd:$LD_LIBRARY_PATH' >> /home/opensrf/.bashrc
 fi;
 
 OSRF_COMMAND='