[GRASS-dev] [GRASS GIS] #3063: In grass 7.3, no shared object files libgrass_vector and libgrass_raster 7.1

#3063: In grass 7.3, no shared object files libgrass_vector and libgrass_raster
7.1
-------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.3.0
Component: Default | Version: unspecified
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
When staring up GRASS (v 7.3, r68671) I am getting the following error /
warnings:

{{{
GRASS 7.3.svn (Data_latlon):~ > ERROR 1: libgrass_vector.7.1.svn.so:
cannot open shared object file: No such file or directory
ERROR 1: libgrass_vector.7.1.svn.so: cannot open shared object file: No
such file or directory
ERROR 1: libgrass_raster.7.1.svn.so: cannot open shared object file: No
such file or directory
ERROR 1: libgrass_raster.7.1.svn.so: cannot open shared object file: No
such file or directory

}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3063&gt;
GRASS GIS <https://grass.osgeo.org>

#3063: In grass 7.3, no shared object files libgrass_vector and libgrass_raster
7.1
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.3.0
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by neteler):

Replying to [ticket:3063 pvanbosgeo]:
> When staring up GRASS (v 7.3, r68671) I am getting the following error /
warnings:
>
>
> {{{
> GRASS 7.3.svn (Data_latlon):~ > ERROR 1: libgrass_vector.7.1.svn.so:
cannot open shared object file: No such file or directory

You have version confusion on your system.
If you compiled yourself, you need to redo that after a

make distclean

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/3063#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3063: In grass 7.3, no shared object files libgrass_vector and libgrass_raster
7.1
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.3.0
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by pvanbosgeo):

Strange, I did a complete clean compilation, or so I thought. Will try
again, perhaps some files did not get removed properly.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3063#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3063: In grass 7.3, no shared object files libgrass_vector and libgrass_raster
7.1
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.3.0
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by pvanbosgeo):

I must be missing something obvious here, but this is what I do:

Remove my previous install

{{{
sudo rm -r /usr/local/grass7
rm -r .grass7
}}}

Completely new checkout

{{{
cd /home/paulo/Software/spatial/
svn checkout https://svn.osgeo.org/grass/grass/trunk grass7
}}}

Compile and run

{{{
cd grass7
./configure --prefix=/usr/local/grass7 --enable-64bit
make -j4
sudo make install
/usr/local/grass7/bin/grass73
}}}

Same result / warning as above

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3063#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>

#3063: In grass 7.3, no shared object files libgrass_vector and libgrass_raster
7.1
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.3.0
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by neteler):

Replying to [comment:3 pvanbosgeo]:
> I must be missing something obvious here,

BTW: please add which operating system you are using.

> but this is what I do:
> Remove my previous install

ok, but we shure that the files are really gone.

> Completely new checkout

No need to do that.

{{{
make distclean
}}}

is enough. To be double, sure run also next to find remaining garbage:

{{{
svn status --no-ignore
}}}

> Compile and run

ok, now, within the session, run

{{{
which g.region
ldd `which g.region | grep grass`
}}}

in order to see where g.region is and which libraries it loads from where.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3063#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>

#3063: In grass 7.3, no shared object files libgrass_vector and libgrass_raster
7.1
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.3.0
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by pvanbosgeo):

Sorry, my system is Linux Ubuntu 14.04 (x64). I did make sure the previous
install is completely removed.

Running which g.region gives me

{{{

/usr/local/grass7/grass-7.3.svn/bin/g.region
}}}

Running ldd `which g.region | grep grass` gives me

{{{
linux-vdso.so.1 => (0x00007ffee6137000)
libgrass_gproj.7.3.svn.so =>
/usr/local/grass7/grass-7.3.svn/lib/libgrass_gproj.7.3.svn.so
(0x00007f6a781a9000)
libgrass_vector.7.3.svn.so =>
/usr/local/grass7/grass-7.3.svn/lib/libgrass_vector.7.3.svn.so
(0x00007f6a77f35000)
libgrass_g3d.7.3.svn.so =>
/usr/local/grass7/grass-7.3.svn/lib/libgrass_g3d.7.3.svn.so
(0x00007f6a77d14000)
libgrass_raster.7.3.svn.so =>
/usr/local/grass7/grass-7.3.svn/lib/libgrass_raster.7.3.svn.so
(0x00007f6a77ae9000)
libgrass_gis.7.3.svn.so =>
/usr/local/grass7/grass-7.3.svn/lib/libgrass_gis.7.3.svn.so
(0x00007f6a778a7000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6a775a1000)
libproj.so.0 => /usr/lib/libproj.so.0 (0x00007f6a7734f000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6a76f8a000)
libgdal.so.20 => /usr/local/gdal/lib/libgdal.so.20 (0x00007f6a75e9d000)
libgrass_dbmiclient.7.3.svn.so =>
/usr/local/grass7/grass-7.3.svn/lib/libgrass_dbmiclient.7.3.svn.so
(0x00007f6a75c92000)
libgrass_dbmibase.7.3.svn.so =>
/usr/local/grass7/grass-7.3.svn/lib/libgrass_dbmibase.7.3.svn.so
(0x00007f6a75a80000)
libgrass_dgl.7.3.svn.so =>
/usr/local/grass7/grass-7.3.svn/lib/libgrass_dgl.7.3.svn.so
(0x00007f6a75867000)
libgrass_dig2.7.3.svn.so =>
/usr/local/grass7/grass-7.3.svn/lib/libgrass_dig2.7.3.svn.so
(0x00007f6a7564e000)
libgrass_linkm.7.3.svn.so =>
/usr/local/grass7/grass-7.3.svn/lib/libgrass_linkm.7.3.svn.so
(0x00007f6a7544b000)
libgrass_rtree.7.3.svn.so =>
/usr/local/grass7/grass-7.3.svn/lib/libgrass_rtree.7.3.svn.so
(0x00007f6a75241000)
libgeos_c.so.1 => /usr/lib/libgeos_c.so.1 (0x00007f6a7501d000)
libgrass_btree2.7.3.svn.so =>
/usr/local/grass7/grass-7.3.svn/lib/libgrass_btree2.7.3.svn.so
(0x00007f6a74e17000)
libpq.so.5 => /usr/lib/libpq.so.5 (0x00007f6a74be8000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6a749e4000)
libgrass_datetime.7.3.svn.so =>
/usr/local/grass7/grass-7.3.svn/lib/libgrass_datetime.7.3.svn.so
(0x00007f6a747db000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f6a745c2000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f6a743a4000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6a783b2000)
libfreexl.so.1 => /usr/local/lib/libfreexl.so.1 (0x00007f6a7419a000)
libodbc.so.1 => /usr/lib/x86_64-linux-gnu/libodbc.so.1
(0x00007f6a73f33000)
libodbcinst.so.1 => /usr/lib/x86_64-linux-gnu/libodbcinst.so.1
(0x00007f6a73d21000)
libkmldom.so.0 => /usr/lib/x86_64-linux-gnu/libkmldom.so.0
(0x00007f6a73a78000)
libkmlbase.so.0 => /usr/lib/x86_64-linux-gnu/libkmlbase.so.0
(0x00007f6a73862000)
libkmlengine.so.0 => /usr/lib/x86_64-linux-gnu/libkmlengine.so.0
(0x00007f6a7362e000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f6a73404000)
libjasper.so.1 => /usr/lib/x86_64-linux-gnu/libjasper.so.1
(0x00007f6a731ad000)
libnetcdf.so.7 => /usr/lib/libnetcdf.so.7 (0x00007f6a72e70000)
libhdf5.so.7 => /usr/lib/x86_64-linux-gnu/libhdf5.so.7
(0x00007f6a729d4000)
libmfhdf.so.0 => /usr/lib/libmfhdf.so.0 (0x00007f6a72798000)
libdf.so.0 => /usr/lib/libdf.so.0 (0x00007f6a7249b000)
libogdi.so.3.2 => /usr/lib/libogdi.so.3.2 (0x00007f6a7227a000)
libspatialite.so.5 => /usr/lib/x86_64-linux-gnu/libspatialite.so.5
(0x00007f6a71c7e000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
(0x00007f6a719c5000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f6a71787000)
libcurl-gnutls.so.4 => /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
(0x00007f6a71525000)
libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2
(0x00007f6a711be000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f6a70eba000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6a70ca4000)
libgeos-3.4.2.so => /usr/lib/libgeos-3.4.2.so (0x00007f6a70920000)
libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0
(0x00007f6a706c1000)
libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
(0x00007f6a702e5000)
libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3
(0x00007f6a7001a000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2
(0x00007f6a6fe16000)
libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2
(0x00007f6a6fbcf000)
libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
(0x00007f6a6f97e000)
libltdl.so.7 => /usr/lib/x86_64-linux-gnu/libltdl.so.7
(0x00007f6a6f774000)
liburiparser.so.1 => /usr/lib/liburiparser.so.1 (0x00007f6a6f55a000)
libminizip.so.0 => /usr/lib/x86_64-linux-gnu/libminizip.so.0
(0x00007f6a6f352000)
libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8
(0x00007f6a6f0fd000)
libhdf5_hl.so.7 => /usr/lib/x86_64-linux-gnu/libhdf5_hl.so.7
(0x00007f6a6eecd000)
libidn.so.11 => /usr/lib/x86_64-linux-gnu/libidn.so.11
(0x00007f6a6ec9a000)
librtmp.so.0 => /usr/lib/x86_64-linux-gnu/librtmp.so.0
(0x00007f6a6ea80000)
libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11
(0x00007f6a6e800000)
libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26
(0x00007f6a6e542000)
liblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2
(0x00007f6a6e333000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f6a6e111000)
libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3
(0x00007f6a6dee2000)
libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0
(0x00007f6a6dcd7000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1
(0x00007f6a6dad3000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2
(0x00007f6a6d8b8000)
libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2
(0x00007f6a6d69d000)
libgssapi.so.3 => /usr/lib/x86_64-linux-gnu/libgssapi.so.3
(0x00007f6a6d45f000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0
(0x00007f6a6d25a000)
libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6
(0x00007f6a6d046000)
libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
(0x00007f6a6ce04000)
libheimntlm.so.0 => /usr/lib/x86_64-linux-gnu/libheimntlm.so.0
(0x00007f6a6cbfb000)
libkrb5.so.26 => /usr/lib/x86_64-linux-gnu/libkrb5.so.26
(0x00007f6a6c973000)
libasn1.so.8 => /usr/lib/x86_64-linux-gnu/libasn1.so.8
(0x00007f6a6c6d2000)
libhcrypto.so.4 => /usr/lib/x86_64-linux-gnu/libhcrypto.so.4
(0x00007f6a6c49f000)
libroken.so.18 => /usr/lib/x86_64-linux-gnu/libroken.so.18
(0x00007f6a6c28a000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f6a6c082000)
libwind.so.0 => /usr/lib/x86_64-linux-gnu/libwind.so.0
(0x00007f6a6be59000)
libheimbase.so.1 => /usr/lib/x86_64-linux-gnu/libheimbase.so.1
(0x00007f6a6bc4b000)
libhx509.so.5 => /usr/lib/x86_64-linux-gnu/libhx509.so.5
(0x00007f6a6ba02000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f6a6b7c9000)
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3063#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>

#3063: In grass 7.3, no shared object files libgrass_vector and libgrass_raster
7.1
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.3.0
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by neteler):

I see:

   /usr/local/grass7/grass-7.3.svn/lib/libgrass_vector.7.3.svn.so

all good now? `g.region -p` works?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/3063#comment:6&gt;
GRASS GIS <https://grass.osgeo.org>

#3063: In grass 7.3, no shared object files libgrass_vector and libgrass_raster
7.1
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.3.0
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by pvanbosgeo):

Yes, g.region -p seems to work. What is still there at startup is those

{{{
ERROR 1: libgrass_vector.7.1.svn.so: cannot open shared object file: No
such file or directory
ERROR 1: libgrass_raster.7.1.svn.so: cannot open shared object file: No
such file or directory
ERROR 1: libgrass_raster.7.1.svn.so: cannot open shared object file: No
such file or directory
}}}

Not sure if it has any other effect, tried a few functions which seem to
work fine. Anything specific that shouldn't work with those errors which I
could test?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3063#comment:7&gt;
GRASS GIS <https://grass.osgeo.org>

#3063: In grass 7.3, no shared object files libgrass_vector and libgrass_raster
7.1
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.3.0
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by neteler):

Got it.. You need to rebuild all addons.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3063#comment:8&gt;
GRASS GIS <https://grass.osgeo.org>

#3063: In grass 7.3, no shared object files libgrass_vector and libgrass_raster
7.1
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.3.0
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by pvanbosgeo):

Thanks for the suggestion. Unfortunately it doesn't seem to help. Rebuild
all, start grass again, with same error messages. Puzzling

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3063#comment:9&gt;
GRASS GIS <https://grass.osgeo.org>

#3063: In grass 7.3, no shared object files libgrass_vector and libgrass_raster
7.1
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.3.0
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by neteler):

Then try

{{{
strace grass73
}}}

No need to post it but it will show you at some point what seeks for it.

However, indeed GRASS works, right?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3063#comment:10&gt;
GRASS GIS <https://grass.osgeo.org>

#3063: In grass 7.3, no shared object files libgrass_vector and libgrass_raster
7.1
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.3.0
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by pvanbosgeo):

Checking all output created at start up of grass for any line with 7.1 in
it, but nothing.

But yes, it seems to work all right based on the limited testing I did, so
I guess I can just ignore it.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3063#comment:11&gt;
GRASS GIS <https://grass.osgeo.org>

#3063: In grass 7.3, no shared object files libgrass_vector and libgrass_raster
7.1
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.4.0
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by neteler):

pvanbosgeo, is this still an issue?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3063#comment:13&gt;
GRASS GIS <https://grass.osgeo.org>

#3063: In grass 7.3, no shared object files libgrass_vector and libgrass_raster
7.1
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.4.0
Component: Default | Version: unspecified
Resolution: worksforme | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by neteler):

* status: new => closed
* resolution: => worksforme

Comment:

No answer, closing

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3063#comment:14&gt;
GRASS GIS <https://grass.osgeo.org>