From 56005546aea76a7998e568ec5f50f9f1ec20eb8d Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Mon, 29 Aug 2022 14:56:02 +0200 Subject: [PATCH] Add libmagic1 lib to support OSM client for Ubuntu22 Change-Id: I70b9691f7232f8ea7abec13b612302aa456803d5 Signed-off-by: garciadeblas --- installers/full_install_osm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 96d8b8b7..58958c9e 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -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}'` -- 2.25.1