Permalink
Browse files

MB-10905: Make couchbase_server.sh work on OSX too.

Set DYLD_LIBRARY_PATH on OSX in same manner as we set
LD_LIBRARY_PATH on other platforms.

Change-Id: I58e2bdf80d2fc70ef089bace02f353625b12699f
Reviewed-on: http://review.couchbase.org/36297
Tested-by: Sriram Melkote <siri@couchbase.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
  • Loading branch information...
1 parent ea0ab70 commit 89d285e2849e62766780ab0a88ed63489da1c414 @melkote melkote committed with vzasade Apr 25, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 couchbase-server.sh.in
View
@@ -34,6 +34,9 @@ couch_start_arguments=""
LD_LIBRARY_PATH="@PREFIX@/lib":"@PREFIX@/lib/memcached":$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
+DYLD_LIBRARY_PATH="@PREFIX@/lib":"@PREFIX@/lib/memcached":$DYLD_LIBRARY_PATH
+export DYLD_LIBRARY_PATH
+
ERL_CRASH_DUMP_BASE=erl_crash.dump.$(date +%s).$$
ERL_CRASH_DUMP=$ERL_CRASH_DUMP_BASE.babysitter
export ERL_CRASH_DUMP_BASE

0 comments on commit 89d285e

Please sign in to comment.