Added comments about LD_LIBRARY_PATH, and pre-loading libraries,
authoraland <aland>
Mon, 12 Jan 2004 18:15:59 +0000 (18:15 +0000)
committeraland <aland>
Mon, 12 Jan 2004 18:15:59 +0000 (18:15 +0000)
so that local craziness with OpenSSL and MySQL may be worked around

scripts/rc.radiusd.in

index c8a30c5..9db1ffa 100755 (executable)
@@ -26,6 +26,17 @@ logdir=@logdir@
 rundir=${localstatedir}/run/radiusd
 sysconfdir=@sysconfdir@
 
+#
+#  If you have issues with OpenSSL, uncomment these next lines.
+#
+#  Something similar may work for MySQL, and you may also
+#  have to LD_PRELOAD libz.so
+#
+#LD_LIBRARY_PATH=@OPENSSL_LIBS@
+#LD_RUN_PATH=@OPENSSL_LIBS@:
+#LD_PRELOAD=@OPENSSL_LIBS@libcrypto.so
+export LD_LIBRARY_PATH LD_RUN_PATH LD_PRELOAD
+
 RADIUSD=$sbindir/radiusd
 RADDBDIR=@raddbdir@
 DESC="FreeRADIUS"