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