Opened 11 years ago

Closed 11 years ago

#1270 closed enhancement (fixed)

libgdal1h, gdal-config, gdal binaries

Reported by: darkblueb Owned by: live-demo@…
Priority: major Milestone: OSGeoLive7.9
Component: OSGeoLive Keywords: gdal, libgdal1h
Cc:

Description

This ticket is for two things.. one is that gdal-config is not installed and .. not available ? for the build of libgdal1h ..

The second part is a general question about how gdal binaries and libgdal1h are related.

Change History (3)

comment:1 by darkblueb, 11 years ago

using PPA:johanvdw/osgeolive and apt.postgresql.org enabled.. adding libgdal-dev has the following results:

user@xubuntu-live-7:~/osgeo_live79$ sudo apt-get  install libgdal-dev -s
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libcurl4-gnutls-dev libdap-dev libdapserver7 libgcrypt11-dev libgeos-dev libgif-dev libgnutls-dev
  libgnutls-openssl27 libgnutlsxx27 libgpg-error-dev libhdf4-alt-dev libicu-dev libidn11-dev libjasper-dev
  libkrb5-dev libldap2-dev libmysqlclient-dev libp11-kit-dev librtmp-dev libspatialite-dev libsqlite3-dev
  libtasn1-3-dev libxerces-c-dev unixodbc unixodbc-dev uuid-dev
Suggested packages:
  libcurl3-dbg libgcrypt11-doc gnutls-doc gnutls-bin icu-doc krb5-doc sqlite3-doc libxerces-c-doc
The following NEW packages will be installed:
  libcurl4-gnutls-dev libdap-dev libdapserver7 libgcrypt11-dev libgdal-dev libgeos-dev libgif-dev
  libgnutls-dev libgnutls-openssl27 libgnutlsxx27 libgpg-error-dev libhdf4-alt-dev libicu-dev libidn11-dev
  libjasper-dev libkrb5-dev libldap2-dev libmysqlclient-dev libp11-kit-dev librtmp-dev libspatialite-dev
  libsqlite3-dev libtasn1-3-dev libxerces-c-dev unixodbc unixodbc-dev uuid-dev
0 upgraded, 27 newly installed, 0 to remove and 13 not upgraded.
Inst libdapserver7 (3.11.1-10 Ubuntu:12.04/precise [i386])
Inst libgnutls-openssl27 (2.12.14-5ubuntu3.5 Ubuntu:12.04/precise-updates [i386])
Inst libgnutlsxx27 (2.12.14-5ubuntu3.5 Ubuntu:12.04/precise-updates [i386])
Inst libgpg-error-dev (1.10-2ubuntu1 Ubuntu:12.04/precise [i386])
Inst libgcrypt11-dev (1.5.0-3ubuntu0.2 Ubuntu:12.04/precise-updates [i386])
Inst libtasn1-3-dev (2.10-1ubuntu1.1 Ubuntu:12.04/precise-updates [i386])
Inst libp11-kit-dev (0.12-2ubuntu1 Ubuntu:12.04/precise [i386])
Inst libgnutls-dev (2.12.14-5ubuntu3.5 Ubuntu:12.04/precise-updates [i386])
Inst libidn11-dev (1.23-2 Ubuntu:12.04/precise [i386])
Inst libkrb5-dev (1.10+dfsg~beta1-2ubuntu0.3 Ubuntu:12.04/precise-updates [i386])
Inst libldap2-dev (2.4.28-1.1ubuntu4.4 Ubuntu:12.04/precise-updates [i386])
Inst librtmp-dev (2.4~20110711.gitc28f1bab-1 Ubuntu:12.04/precise [i386])
Inst libcurl4-gnutls-dev (7.22.0-3ubuntu4.6 Ubuntu:12.04/precise-updates [i386])
Inst uuid-dev (2.20.1-1ubuntu3 Ubuntu:12.04/precise [i386])
Inst libdap-dev (3.11.1-10 Ubuntu:12.04/precise [i386])
Inst libgeos-dev (3.3.8-2~precise1 ubuntugis-unstable:12.04/precise [i386])
Inst libgif-dev (4.1.6-9ubuntu1 Ubuntu:12.04/precise [i386])
Inst libicu-dev (4.8.1.1-3ubuntu0.1 Ubuntu:12.04/precise-updates [i386])
Inst libjasper-dev (1.900.1-13 Ubuntu:12.04/precise [i386])
Inst libmysqlclient-dev (5.5.34-0ubuntu0.12.04.1 Ubuntu:12.04/precise-updates [i386])
Inst libsqlite3-dev (3.7.9-2ubuntu1.1 Ubuntu:12.04/precise-updates [i386])
Inst libxerces-c-dev (3.1.1-1build1 Ubuntu:12.04/precise [i386])
Inst unixodbc (2.2.14p2-5ubuntu3 Ubuntu:12.04/precise [i386])
Inst libhdf4-alt-dev (4.2r4-12build1 Ubuntu:12.04/precise [i386])
Inst unixodbc-dev (2.2.14p2-5ubuntu3 Ubuntu:12.04/precise [i386])
Inst libspatialite-dev (4.1.0-2~precise1 ubuntugis-unstable:12.04/precise [i386])
Inst libgdal-dev (1.10.0-1~precise1 ubuntugis-unstable:12.04/precise [i386])
Conf libdapserver7 (3.11.1-10 Ubuntu:12.04/precise [i386])
Conf libgnutls-openssl27 (2.12.14-5ubuntu3.5 Ubuntu:12.04/precise-updates [i386])
Conf libgnutlsxx27 (2.12.14-5ubuntu3.5 Ubuntu:12.04/precise-updates [i386])
Conf libgpg-error-dev (1.10-2ubuntu1 Ubuntu:12.04/precise [i386])
Conf libgcrypt11-dev (1.5.0-3ubuntu0.2 Ubuntu:12.04/precise-updates [i386])
Conf libtasn1-3-dev (2.10-1ubuntu1.1 Ubuntu:12.04/precise-updates [i386])
Conf libp11-kit-dev (0.12-2ubuntu1 Ubuntu:12.04/precise [i386])
Conf libgnutls-dev (2.12.14-5ubuntu3.5 Ubuntu:12.04/precise-updates [i386])
Conf libidn11-dev (1.23-2 Ubuntu:12.04/precise [i386])
Conf libkrb5-dev (1.10+dfsg~beta1-2ubuntu0.3 Ubuntu:12.04/precise-updates [i386])
Conf libldap2-dev (2.4.28-1.1ubuntu4.4 Ubuntu:12.04/precise-updates [i386])
Conf librtmp-dev (2.4~20110711.gitc28f1bab-1 Ubuntu:12.04/precise [i386])
Conf libcurl4-gnutls-dev (7.22.0-3ubuntu4.6 Ubuntu:12.04/precise-updates [i386])
Conf uuid-dev (2.20.1-1ubuntu3 Ubuntu:12.04/precise [i386])
Conf libdap-dev (3.11.1-10 Ubuntu:12.04/precise [i386])
Conf libgeos-dev (3.3.8-2~precise1 ubuntugis-unstable:12.04/precise [i386])
Conf libgif-dev (4.1.6-9ubuntu1 Ubuntu:12.04/precise [i386])
Conf libicu-dev (4.8.1.1-3ubuntu0.1 Ubuntu:12.04/precise-updates [i386])
Conf libjasper-dev (1.900.1-13 Ubuntu:12.04/precise [i386])
Conf libmysqlclient-dev (5.5.34-0ubuntu0.12.04.1 Ubuntu:12.04/precise-updates [i386])
Conf libsqlite3-dev (3.7.9-2ubuntu1.1 Ubuntu:12.04/precise-updates [i386])
Conf libxerces-c-dev (3.1.1-1build1 Ubuntu:12.04/precise [i386])
Conf unixodbc (2.2.14p2-5ubuntu3 Ubuntu:12.04/precise [i386])
Conf libhdf4-alt-dev (4.2r4-12build1 Ubuntu:12.04/precise [i386])
Conf unixodbc-dev (2.2.14p2-5ubuntu3 Ubuntu:12.04/precise [i386])
Conf libspatialite-dev (4.1.0-2~precise1 ubuntugis-unstable:12.04/precise [i386])
Conf libgdal-dev (1.10.0-1~precise1 ubuntugis-unstable:12.04/precise [i386])

comment:2 by darkblueb, 11 years ago

confirmed that /usr/bin/gdal-config is created (diff of /usr dir) with libgdal-dev ... including the following contents:

#!/bin/sh
CONFIG_LIBS="-L/usr/lib -lgdal"
CONFIG_DEP_LIBS=" -larmadillo -lproj -lpoppler -lfreexl -L/usr/lib -lgeos_c -L/usr/lib -lepsilon -lodbc -lodbcin
st -lexpat -lxerces-c -lpthread -ljasper -L/usr/lib -lnetcdf -lhdf5 -lmfhdfalt -ldfalt -lgif -ljpeg -lpng -L/usr
/lib -lpq -llzma -lz -lpthread -lm -lrt -ldl  -ldapclient -ldapserver -ldap   -L/usr/lib -lspatialite -lsqlite3 
  -L/usr/lib/i386-linux-gnu -lcurl -Wl,-Bsymbolic-functions -Wl,-z,relro            -L/usr/lib -lxml2 -L/usr/lib
/i386-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -ldl"
CONFIG_PREFIX="/usr"
CONFIG_CFLAGS="-I/usr/include/gdal"
CONFIG_DATA="/usr/share/gdal/1.10"
CONFIG_VERSION="1.10.0"
CONFIG_OGR_ENABLED=yes
CONFIG_FORMATS="gxf gtiff hfa aigrid aaigrid ceos ceos2 iso8211 xpm sdts raw dted mem jdem envisat elas fit vrt 
usgsdem l1b nitf bmp pcidsk airsar rs2 ilwis rmf leveller sgi srtmhgt idrisi gsg ingr ers jaxapalsar dimap gff c
osar pds adrg coasp tsx terragen blx msgn til r northwood saga xyz hf2 kmlsuperoverlay ctg e00grid zmap ngsgeoid
 iris map epsilon wcs wms dods grib bsb jpeg2000 netcdf hdf5 hdf4 gif jpeg png pcraster  rik ozi pdf rasterlite 
mbtiles postgisraster arg"

comment:3 by kalxas, 11 years ago

Resolution: fixed
Status: newclosed

ok so the gdal-config is found.

Note: See TracTickets for help on using tickets.