I've recently installed rsgislib via Anaconda and am getting an import error on libicui18n.so.58 per below. This is running on Ubuntu 16.04 LTS desktop. From what I can tell it seems like a QT (maybe QT Creator) version conflict. I installed rsgislib per notes on this forum, and I'll list the packages that are installed. I get the same error when I try to run tuiview.
Brian Krzys.
Python 3.5.2 |Continuum Analytics, Inc.| (default, Jul 2 2016, 17:53:06)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import rsgislib
>>> from rsgislib import imagecalibration
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/brian/anaconda3/envs/aster/lib/python3.5/site-packages/rsgislib/imagecalibration/__init__.py", line 10, in <module>
from ._imagecalibration import *
ImportError: libicui18n.so.58: cannot open shared object file: No such file or directory
Create new environment - note each time you open a terminal you will need to activate the environment, add to .bash_profile if want to turn on by default.
conda create --name osgeoenv python=3.5
source activate osgeoenv
conda install -c conda-forge gdal
conda install -c conda-forge tuiview
conda install -c conda-forge -c rios rsgislib
conda install -c conda-forge -c rios rios
conda install -c conda-forge -c rios arcsi
conda install -c conda-forge scikit-learn
# packages in environment at /home/brian/anaconda3/envs/aster:
#
arcsi 1.0.0 py35_0 rios
blas 1.1 openblas conda-forge
boost 1.62.0 py35_0 conda-forge
cairo 1.14.6 0 conda-forge
cgal 4.9 py35_1 conda-forge
curl 7.52.1 0 conda-forge
cycler 0.10.0 py35_0 conda-forge
expat 2.1.0 2 conda-forge
fontconfig 2.11.1 6 conda-forge
freetype 2.6.3 1 conda-forge
freexl 1.0.2 1 conda-forge
gdal 2.1.3 np112py35_1 conda-forge
geos 3.5.1 1 conda-forge
gettext 0.19.7 1 conda-forge
giflib 5.1.4 0 conda-forge
glib 2.51.0 2 conda-forge
gmp 6.1.2 0 conda-forge
gsl 2.1 2 conda-forge
harfbuzz 1.3.4 0 conda-forge
hdf4 4.2.12 0 conda-forge
hdf5 1.8.17 9 conda-forge
icu 56.1 4 conda-forge
jpeg 9b 0 conda-forge
json-c 0.12 0 conda-forge
kealib 1.4.6 3 conda-forge
libdap4 3.18.3 2 conda-forge
libffi 3.2.1 3 conda-forge
libgcc 5.2.0 0
libgfortran 3.0.0 1
libiconv 1.14 4 conda-forge
libnetcdf 4.4.1.1 2 conda-forge
libpng 1.6.28 0 conda-forge
libpq 9.5.4 3 conda-forge
libspatialite 4.3.0a 14 conda-forge
libtiff 4.0.6 7 conda-forge
libxml2 2.9.4 3 conda-forge
matplotlib 2.0.0 np112py35_1 conda-forge
mkl 2017.0.1 0
mpfr 3.1.5 0 conda-forge
muparser 2.2.5 2 conda-forge
numpy 1.12.0 py35_blas_openblas_200 [blas_openblas] conda-forge
openblas 0.2.19 0 conda-forge
openjpeg 2.1.2 2 conda-forge
openssl 1.0.2k 0
pandas 0.19.2 np112py35_1 conda-forge
pango 1.40.3 0 conda-forge
pcre 8.39 0 conda-forge
pip 9.0.1 py35_1
pixman 0.34.0 0 conda-forge
proj4 4.9.3 2 conda-forge
py6s 1.6.2 py35_1 rios
pyparsing 2.1.10 py35_0 conda-forge
pyqt 4.11.4 py35_2 conda-forge
pysolar 0.6 py35_0 conda-forge
python 3.5.2 0
python-dateutil 2.6.0 py35_0 conda-forge
pytz 2016.10 py35_0 conda-forge
qt 4.8.7 4
readline 6.2 2
rios 1.4.3 py35_1 conda-forge
rsgislib 3.1.0 py35_0 rios
scikit-learn 0.18 np112py35_blas_openblas_204 [blas_openblas] conda-forge
scipy 0.18.1 np112py35_blas_openblas_201 [blas_openblas] conda-forge
setuptools 27.2.0 py35_0
sip 4.18 py35_1 conda-forge
six 1.10.0 py35_1 conda-forge
sixs 1.1 0 conda-forge
sqlite 3.13.0 0
tk 8.5.18 0
tornado 4.4.2 py35_0 conda-forge
tuiview 1.1.10 np112py35_0 conda-forge
util-linux 2.21 0
wheel 0.29.0 py35_0
xerces-c 3.1.4 2 conda-forge
xz 5.2.2 1
zlib 1.2.8 3