Add libmagic1 lib to support OSM client for Ubuntu22 99/12499/3
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 29 Aug 2022 12:56:02 +0000 (14:56 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 19 Sep 2022 09:04:30 +0000 (11:04 +0200)
Change-Id: I70b9691f7232f8ea7abec13b612302aa456803d5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/full_install_osm.sh

index 96d8b8b..58958c9 100755 (executable)
@@ -215,7 +215,7 @@ function install_osmclient(){
         python3 -m pip install -r /usr/lib/python3/dist-packages/osm_im/requirements.txt
     fi
     if [ -f /usr/lib/python3/dist-packages/osmclient/requirements.txt ]; then
-        sudo apt-get install -y libcurl4-openssl-dev libssl-dev
+        sudo apt-get install -y libcurl4-openssl-dev libssl-dev libmagic1
         python3 -m pip install -r /usr/lib/python3/dist-packages/osmclient/requirements.txt
     fi
     [ -z "$INSTALL_LIGHTWEIGHT" ] && export OSM_HOSTNAME=`lxc list | awk '($2=="SO-ub"){print $6}'`