How I can fix this?
Thanks in advance.
- 'librasterlite2' : at present in development-- and thus has never been packaged by debian
For unknown reasons, 'librasterlite' was packaged by debian as 'librasterlite2'
- possibly a typo at the time
On Tuesday, March 8, 2016 at 6:27:40 AM UTC+1, mj10777 wrote:- 'librasterlite2' : at present in development-- and thus has never been packaged by debian
librasterlite2 has been packaged for Debian and available since last July. It's also included in Ubuntu since wily.
For unknown reasons, 'librasterlite' was packaged by debian as 'librasterlite2'- possibly a typo at the time
The librasterlite source package built the librasterlite2 binary package to include the SOVERSION in the package name to have sane dependencies on the specific library required for applications.
librasterlite has been removed from Debian and Ubuntu because of its deprecation, and librasterlite2 has taken its place.
sudo apt-cache search rasterlitelibrasterlite-dev - library supporting raster data sources for spatialite - headerslibrasterlite2 - library supporting raster data sources for spatialiterasterlite-bin - command line tools for librasterliterasterlite-dbg - library supporting raster data sources for spatialite - debugging symbols
spatialite-gui is the primary reason librasterlite and libgaiagraphics were packaged for Debian, spatialite-gui 2.0.0 only requires librasterlite2 and so the packages for the deprecated projects were removed.
The librasterlite2 source package builds the librasterlite2-1 binary package, the - is included to keep a clear distinction between the library name and SOVERSION parts of the package name. When no number is included in the library name, the SOVERSION is just appended to the library name to form the package name.
Kind Regards,
Bas
Thanks in advance.
On Wednesday, 9 March 2016 01:17:56 UTC+1, linux...@gmail.com wrote:librasterlite has been removed from Debian and Ubuntu because of its deprecation, and librasterlite2 has taken its place.- but is still used on pre 15.10 Ubuntu versions
spatialite-gui is the primary reason librasterlite and libgaiagraphics were packaged for Debian, spatialite-gui 2.0.0 only requires librasterlite2 and so the packages for the deprecated projects were removed.But only when --enable-rl2extra is used- by default, librasterlite2 is not needed-- this will change after the initial release of RasterLite2, but during the development period it is not
So the main question at the moment is:- does the binary debian-package of spatialite-gui enable the rl2 support?
-- if not, it would only cause confusion of the users seeing the dependency being resolved - but not used
The librasterlite2 source package builds the librasterlite2-1 binary package, the - is included to keep a clear distinction between the library name and SOVERSION parts of the package name. When no number is included in the library name, the SOVERSION is just appended to the library name to form the package name.- I assume then that source would then be 'librasterlite2-dev'
I am not the developer, but only a major tester (and answerer of questions) for RasterLite2- but am a bit surprised at the fact that a project still under development is being packaged
Hi Ivan,
I can tell you what I did to compile the whole chain to the spatialite gui, I hope it can help.
Actually most of it comes from another thread in this list by the good Cesare Gerbino.
Here it goes:
wget http://sqlite.org/2016/sqlite-autoconf-3100200.tar.gz
tar -xzf sqlite-autoconf-3100200.tar.gz
cd sqlite-autoconf-3100200/
make distclean
./configure
make -j8
sudo make install
sudo ldconfig
cd ..
wget http://download.osgeo.org/proj/proj-4.9.2.tar.gz
tar -xzf proj-4.9.2.tar.gz
cd proj-4.9.2
make distclean
./configure
make -j8
sudo make install
cd ..
wget http://download.osgeo.org/geos/geos-3.5.0.tar.bz2
tar -xjf geos-3.5.0.tar.bz2
cd geos-3.5.0
make distclean
./configure
make -j8
sudo make install
sudo ldconfig
cd ..
wget http://www.gaia-gis.it/gaia-sins/freexl-sources/freexl-1.0.2.tar.gz
tar -xzf freexl-1.0.2.tar.gz
cd freexl-1.0.2
make distclean
./configure
make -j8
sudo make install
sudo ldconfig
cd ..
Get it here: https://github.com/uclouvain/openjpeg/blob/master/INSTALL
and unzip it in the working folder.
cd openjpeg-openjpeg-2.1
make distclean
cmake .
make -j8
sudo make install
sudo ldconfig
cd ..
wget http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-4.4.0-RC0.tar.gz
tar -xzf libspatialite-4.4.0-RC0.tar.gz
cd libspatialite-4.4.0-RC0
make distclean
./configure --enable-geocallbacks LIBS="-lsqlite3"
make -j8
sudo make install
sudo ldconfig
cd ..
Download librasterlite2-1.0.0-devel and extract it in the working folder.
cd librasterlite2-1.0.0-devel
./configure LIBS="-lsqlite3"
make -j8
sudo make install
sudo ldconfig
cd ..
Download spatialite_gui-2.0.0-devel and extract it in the working folder.
cd spatialite_gui-2.0.0-devel
./configure --enable-rl2extra=yes
make -j8
sudo make install
sudo ldconfig
cd ..
I hope this works for you also.
One word of caution. This has only worked for me once I had uninstalled all system libraries related to spatialite.
Good luck,
Andrea
--
You received this message because you are subscribed to the Google Groups "SpatiaLite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spatialite-use...@googlegroups.com.
To post to this group, send email to spatiali...@googlegroups.com.
Visit this group at https://groups.google.com/group/spatialite-users.
For more options, visit https://groups.google.com/d/optout.
But...That did not work for me, even with Sandro's correction.The only step missing from Andrea's list was librasterlite2 installation.
I downloaded sources from http://www.gaia-gis.it/gaia-sins/librasterlite2-1.0.0-rc0.zip
--
Hi Sandro & all,
I finally gave a shot at a fossil-aligned compilation. Indeed that worked perfectly.
Here the updated steps that lead also to spatialite-gui and librewms:
wget https://www.sqlite.org/2016/sqlite-autoconf-3110100.tar.gz
tar -xzf sqlite-autoconf-3110100.tar.gz
cd sqlite-autoconf-3110100/
export "CFLAGS=-DSQLITE_ENABLE_STAT3=1 -DSQLITE_ENABLE_TREE_EXPLAIN=1 -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_COLUMN_METADATA=1"
./configure
make -j8
sudo make install
sudo ldconfig
cd ..
wget http://download.osgeo.org/proj/proj-4.9.2.tar.gz
tar -xzf proj-4.9.2.tar.gz
cd proj-4.9.2
./configure
make -j8
sudo make install
cd ..
wget http://download.osgeo.org/geos/geos-3.5.0.tar.bz2
tar -xjf geos-3.5.0.tar.bz2
cd geos-3.5.0
./configure
make -j8
sudo make install
sudo ldconfig
cd ..
wget http://www.gaia-gis.it/gaia-sins/freexl-sources/freexl-1.0.2.tar.gz
tar -xzf freexl-1.0.2.tar.gz
cd freexl-1.0.2
./configure
make -j8
sudo make install
sudo ldconfig
cd ..
Get it here: https://github.com/uclouvain/openjpeg/blob/master/INSTALL
cd openjpeg-openjpeg-2.1
cmake .
make -j8
sudo make install
sudo ldconfig
cd ..
mkdir libspatialite
cd libspatialite/
fossil clone https://www.gaia-gis.it/fossil/libspatialite libspatialite.fossil
fossil open libspatialite.fossil
./configure --enable-geocallbacks
make -j8
sudo make install
sudo ldconfig
cd ..
mkdir librasterlite2
cd librasterlite2/
fossil clone https://www.gaia-gis.it/fossil/librasterlite2 librasterlite2.fossil
fossil open librasterlite2.fossil
./configure
make -j8
sudo make install
sudo ldconfig
cd ..
mkdir spatialite_gui
cd spatialite_gui/
fossil clone https://www.gaia-gis.it/fossil/spatialite_gui spatialite_gui.fossil
fossil open spatialite_gui.fossil
./configure --enable-rl2extra=yes
make -j8
sudo make install
sudo ldconfig
cd ..
mkdir librewms
cd librewms/
fossil clone https://www.gaia-gis.it/fossil/librewms librewms.fossil
fossil open librewms.fossil
./configure
make -j8
sudo make install
sudo ldconfig
cd ..
The above went like a charm for me.
It can’t be repeated enough: all system libs of spatialite need to be removed.
Cheers,
Andrea