Project

General

Profile

par_S1_SLC and libgdal.so.1

Added by Naeem Shahzad about 6 years ago

par_S1_SLC: /usr/lib/libgdal.so.1: no version information available (required by par_S1_SLC)

terrible error. cant proceed without resolving this. I have ubuntu 14.04.1 lTS with GAMMA


Replies (8)

par_S1_SLC and libgdal.so.1 - Added by Charles Werner about 6 years ago

Hello,

The program should still run! does it quit or run to completion?
Gamma will no longer be supported on 14.04 LTS since Ubuntu will no longer
support it.

Cheers,
Charles

RE: par_S1_SLC and libgdal.so.1 - Added by Naeem Shahzad about 6 years ago

it does not run, but comes up with error "/orb_list/orb_list.iw*.slc.par (Not a directory)" AS it missed the file generation in previous step and it keeps highlighting the error of not reading libgdal.so.1.

and if I am using ubuntu 14.04.1 LTS, and GAMMA will not run properly on it, then it means I sould switch to 16?

RE: par_S1_SLC and libgdal.so.1 - Added by Naeem Shahzad about 6 years ago

Well, reinstalling the libgdal.so.1 was not possible, Just got this file from a friend, and pasting this in the libraries worked for me.
Here comes another error; (par_S1_SLC: error while loading shared libraries: libarmadillo.so.6: cannot open shared object file: No such file or directory.
I cant find this liberary (libarmadillo.so.6) liberary at all on my ubuntu 14.04.1 LTS. Any suggestion from the experts. I am working on Sentinel-1 Data and I am new to GAMMA.

RE: par_S1_SLC and libgdal.so.1 - Added by Redmine Admin about 6 years ago

I have some older installations notes, this is what I added on Ubuntu 14.04 for
gamma:

sudo apt-get install libfftw3-dev gnuplot-qt gimp gnuplot-qt libgtk2.0-dev
libgtk2.0-common libgtk2.0-bin libgdal-dev gdal-bin libhdf5-dev libhdf5-7
libblas-dev libblas3 libblas-doc liblapack-dev liblapack3 liblapack-doc

You can check the libraries with this command. If a "not found" appears, you
have to install the missing libraries

ldd /YOUR_FOLDER_PATH/GAMMA_SOFTWARE-YOUR-VERSION-ubuntu1404/*/bin/* | grep not

If only libarmadillo is missing, install

sudo apt-get install libarmadillo4

But I guess more libs are missing...

Best,
Sylvia

RE: par_S1_SLC and libgdal.so.1 - Added by Charles Werner about 6 years ago

Hello,
How about installing Ubuntu 16.04 LTS,

Best regards,
Charles

RE: par_S1_SLC and libgdal.so.1 - Added by Naeem Shahzad about 6 years ago

Sylvia! thank you for this, after installing libarmadillo4, I got the same issue.
Charles! It can take you know a whole day to prepare my system, But I am planning to do this on weekend. Let's see if the issue persists. Do you guys have something, means the things which are necessary for running GAMMA along with MATLAB and GMT? I am talking about the preparation and files/libraries which are needed for GAMMA to work with Ubuntu 16?

Regards
Naeem

RE: par_S1_SLC and libgdal.so.1 - Added by Charles Werner about 6 years ago

Hello,

We test our software with a virtual machine that has the standard distribution
of the Ubuntu OS. That means we have not installed other versions of GDAL other
than what come with the software. Library issues have often to do with the order
that directories are searched. When another software package, changes this
search order and uses a library that is not part of the standard distribution,
problems occur.

Gamma works fine with Matlab here at Gamma, and probably GMT. What I would make
sure is that in the Library search path, that the standard library directory
/usr/lib comes first. On Ubuntu 16.04 LTS, libgdal is installed this way:

ls l /usr/lib/libgdal*
-rw-r--r-
1 root root 28170718 Apr  5  2016 /usr/lib/libgdal.a
lrwxrwxrwx 1 root root       17 Apr  5  2016 /usr/lib/libgdal.so >
libgdal.so.1.18.3
lrwxrwxrwx 1 root root       17 Apr  5  2016 /usr/lib/libgdal.so.1 ->
libgdal.so.1.18.3
-rw-r--r-
1 root root 12521680 Apr  5  2016 /usr/lib/libgdal.so.1.18.3

libgdal.so and libgdal.so.1 are links to the actual shared library
/usr/lib/libgdal.so.1.18.3

Our Ubuntu version:

lsb_release -a
LSB Version:
core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID:    Ubuntu
Description:    Ubuntu 16.04.5 LTS
Release:    16.04
Codename:    xenial

Best regards,
Charles

RE: par_S1_SLC and libgdal.so.1 - Added by Naeem Shahzad about 6 years ago

Thanks Charles for very useful information.

Bests
Naeem

    (1-8/8)