Warning: There are gvSIG 2.1 for linux 64 bits currently. In case of using them, it’s not necessary to follow the steps that are described at this article.
Some weeks ago a friend reinstalled his system. He had an Ubuntu 13.04 and started to use version 13.10 of 64 bits. When trying to install gvSIG 2.1 the installation process failed.
We took a look at it and we saw that new versions in Ubuntu, and generally derivatives Debian, changes was made in packs management to improve multiplatform support, and consequently packs of 32 bits were not installed by default in Linux 64 bits.
In general, for gvSIG running, that currently uses natives of 32 bits, we need to install the native libraries of 32 bits that are necessary in system.
In order to finish the installation correctly we need to install the native libraries associated to the graphic environment that java uses. This is relatively simple. If executed:
# sudo apt-get install openjdk-7-jdk:i386
The 32 bits version of a JRE will be installed with all dependencies, and then the installation will work and gvSIG will run.
However, we still have problems with projections, and loading of raster layers, that uses 32 bits natives, and for those we need to install some libraries in system. We can install them with:
# sudo apt-get install libidn11:i386 # sudo apt-get install libldap-2.4-2:i386 # sudo apt-get install libjpeg62:i386 # sudo apt-get install libproj0:i386 # sudo apt-get install libgeos-c1:i386 # sudo apt-get install libssl0.9.8:i386
Executing this we can load raster layers (and services like WMS) and use handling of projections of JCRS in gvSIG.
If you had problems like these when trying the last builds of gvSIG 2.1 these steps can help you to solve it and execute gvSIG in your system.