[GRASS-user] Trouble running Grass 7

Hi - I am trying to install Grass 7 in a local directory and the installation seems to have gone ok but when I run it I get the following error:
--
WARNING: Nviz extension (3D view mode) disabled. Reason: /home/nedhorning/bin/grass70/lib/libgrass_datetime.7.0.svn.so: wrong ELF class: ELFCLASS32
g.list: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory
g.list: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory
--

I'm not too concerned about the Nvis error but the problem with libgdal.so.1 is preventing GRASS from starting. I have a file /usr/lib/libproj.so.1 which is a link to the shared library /usr/lib/libproj.so.0.6.6. Is this a version problem?

I have GRASS 6.4 ORC6 running just fine.

Thanks in advance for any advice.

Ned

Hi Ned,

On Tue, Jun 29, 2010 at 2:09 PM, Ned Horning <horning@amnh.org> wrote:

Hi - I am trying to install Grass 7 in a local directory and the installation seems to have gone ok but when I run it I get the following error:
--
WARNING: Nviz extension (3D view mode) disabled. Reason: /home/nedhorning/bin/grass70/lib/libgrass_datetime.7.0.svn.so: wrong ELF class: ELFCLASS32

Please post

uname -a

I suspect that 64bit and 32bit libraries are mixed.
...

I'm not too concerned about the Nvis error but the problem with libgdal.so.1 is preventing GRASS from starting. I have a file /usr/lib/libproj.so.1 which is a link to the shared library /usr/lib/libproj.so.0.6.6. Is this a version problem?

Please post
ldd /usr/lib/libproj.so.0.6.6
too.

I have GRASS 6.4 ORC6 running just fine.

Markus

Hi Markus,

Thanks for the reply. He are the results of the two commands you requested:

nedhorning@ubuntu-desktop:~$ uname -a
Linux ubuntu-desktop 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux

nedhorning@ubuntu-desktop:~$ ldd /usr/lib/libproj.so.0.6.6
     linux-vdso.so.1 => (0x00007fff66bff000)
     libm.so.6 => /lib/libm.so.6 (0x00007f3cda7b2000)
     libc.so.6 => /lib/libc.so.6 (0x00007f3cda430000)
     /lib64/ld-linux-x86-64.so.2 (0x00007f3cdac9a000)

Ned

On 06/30/2010 05:27 PM, Markus Neteler wrote:

Hi Ned,

On Tue, Jun 29, 2010 at 2:09 PM, Ned Horning<horning@amnh.org> wrote:
   

Hi - I am trying to install Grass 7 in a local directory and the installation seems to have gone ok but when I run it I get the following error:
--
WARNING: Nviz extension (3D view mode) disabled. Reason: /home/nedhorning/bin/grass70/lib/libgrass_datetime.7.0.svn.so: wrong ELF class: ELFCLASS32
     

Please post

uname -a

I suspect that 64bit and 32bit libraries are mixed.
...
   

I'm not too concerned about the Nvis error but the problem with libgdal.so.1 is preventing GRASS from starting. I have a file /usr/lib/libproj.so.1 which is a link to the shared library /usr/lib/libproj.so.0.6.6. Is this a version problem?
     

Please post
ldd /usr/lib/libproj.so.0.6.6
too.

I have GRASS 6.4 ORC6 running just fine.
     

Markus
   

On Wed, Jun 30, 2010 at 11:47 PM, Ned Horning <horning@amnh.org> wrote:

Hi Markus,

Thanks for the reply. He are the results of the two commands you requested:

nedhorning@ubuntu-desktop:~$ uname -a
Linux ubuntu-desktop 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC
2010 x86_64 GNU/Linux

-> 64 bit box!

as suspected, you have also 32bit files around:

On Tue, Jun 29, 2010 at 2:09 PM, Ned Horning <horning@amnh.org> wrote:

WARNING: Nviz extension (3D view mode) disabled. Reason:
/home/nedhorning/bin/grass70/lib/libgrass_datetime.7.0.svn.so: wrong ELF
class: ELFCLASS32

That's incompliant... Did you self-compile all on *that* machine?
If yes, a "make distclean" and recompilation should solve the problem.

Markus

Markus,

Thanks for the diagnostic help. I was using the GRASS 7 binary so that's the problem. I'll try to compile GRASS 7 using the SVN snapshot to see I can get that to work.

Thanks for your patience.

Ned

On 06/30/2010 06:18 PM, Markus Neteler wrote:

On Wed, Jun 30, 2010 at 11:47 PM, Ned Horning<horning@amnh.org> wrote:
   

Hi Markus,

Thanks for the reply. He are the results of the two commands you requested:

nedhorning@ubuntu-desktop:~$ uname -a
Linux ubuntu-desktop 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC
2010 x86_64 GNU/Linux
     

-> 64 bit box!

as suspected, you have also 32bit files around:

On Tue, Jun 29, 2010 at 2:09 PM, Ned Horning<horning@amnh.org> wrote:
   

WARNING: Nviz extension (3D view mode) disabled. Reason:
/home/nedhorning/bin/grass70/lib/libgrass_datetime.7.0.svn.so: wrong ELF
class: ELFCLASS32
     

That's incompliant... Did you self-compile all on *that* machine?
If yes, a "make distclean" and recompilation should solve the problem.

Markus