From 40bdda15bb4452af5b4894b3b5bc29bc3f0b2c03 Mon Sep 17 00:00:00 2001 From: Gregory Burd Date: Fri, 19 Apr 2013 12:33:20 -0400 Subject: [PATCH] Create links for bzip2 shared libraries. --- c_src/build_deps.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/c_src/build_deps.sh b/c_src/build_deps.sh index f4006e5..70163f5 100755 --- a/c_src/build_deps.sh +++ b/c_src/build_deps.sh @@ -175,7 +175,11 @@ case "$1" in cp -p -P $BASEDIR/system/lib/libwiredtiger-[0-9].[0-9].[0-9].so ${BASEDIR}/../priv cp -p -P $BASEDIR/system/lib/libwiredtiger_snappy.so ${BASEDIR}/../priv cp -p -P $BASEDIR/system/lib/libwiredtiger_bzip2.so* ${BASEDIR}/../priv - cp -p -P $BASEDIR/system/lib/libbz2.so.* ${BASEDIR}/../priv + cp -p -P $BASEDIR/system/lib/libbz2.so.[0-9].[0-9].[0-9] ${BASEDIR}/../priv + (cd ${BASEDIR}/../priv + [ -L libbz2.so ] || ln -s libbz2.so.1.0.6 libbz2.so + [ -L libbz2.so.1 ] || ln -s libbz2.so.1.0.6 libbz2.so.1 + [ -L libbz2.so.1.0 ] || ln -s libbz2.so.1.0.6 libbz2.so.1.0) cp -p -P $BASEDIR/system/lib/libsnappy.so* ${BASEDIR}/../priv ;; esac