From ce58cfa1dc62e531c6408fe312da9afeef33cb53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Font=C3=A1n=20Mui=C3=B1os?= Date: Thu, 22 Jan 2009 18:51:06 +0000 Subject: [PATCH] Install dynamic libraries git-svn-id: http://svn.opennebula.org/one/trunk@320 3034c82b-c49b-4eb3-8279-a7acafdc01c0 --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f3ef1153c8..4cbc1a8410 100755 --- a/install.sh +++ b/install.sh @@ -174,7 +174,8 @@ BIN_FILES="src/nebula/oned \ #------------------------------------------------------------------------------- INCLUDE_FILES="include/OneClient.h" -LIB_FILES="src/client/liboneapi.a" +LIB_FILES="src/client/liboneapi.a \ + src/client/liboneapi.so" #------------------------------------------------------------------------------- # Ruby library files, to be installed under $LIB_LOCATION/ruby @@ -369,6 +370,9 @@ if [ "$UNINSTALL" = "no" ] ; then for d in $CHOWN_DIRS; do /bin/chown -R $ONEADMIN_USER:$ONEADMIN_GROUP $DESTDIR$d done + # Create library links + ln -s $LIB_LOCATION/liboneapi.so $LIB_LOCATION/liboneapi.so.1 + ln -s $LIB_LOCATION/liboneapi.so.1 $LIB_LOCATION/liboneapi.so.1.2 else for d in `echo $MAKE_DIRS | awk '{for (i=NF;i>=1;i--) printf $i" "}'`; do rmdir $d