Re: Problème installation Postgis sous Centos 7.

Bernard Schoenacker <[email protected]>
Newsgroups gmane.comp.db.postgresql.french
Message-ID <[email protected]>
Le Fri, 19 Feb 2016 18:08:52 +0100,
Bernard Schoenacker <[email protected]> a écrit :

> Le Fri, 19 Feb 2016 17:38:47 +0100,
> Alain Benard <[email protected]> a écrit :
> 
> > Bonjour,
> > je viens d'installer un serveur Centos 7 et j'y ai mis
> > postgresql-9.4 de la façon suivante :
> > 
> >   * wget
> >     http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-2.noarch.rpm
> >   * rpm -i pgdg-centos94-9.4-2.noarch.rpm
> >   * yum install postgresql94 postgresql94-devel postgresql94-server
> >     postgresql94-libs postgresql94-contrib
> > 
> > Tout va bien jusqu'ici et je me lance donc dans l'installation de 
> > postgis  (fourni apparemment par le même rpm que ci-dessus) :
> > 
> >   * yum install postgis2_94 postgis2_94-docs postgis2_94-utils
> > 
> >             Voici un extrait du genre d'erreur rencontrées :
> >               Le paquet postgis2_94.x86_64 0:2.1.8-1.rhel7 sera
> > installé --> Traitement de la dépendance : hdf5 pour le
> > paquet : postgis2_94-2.1.8-1.rhel7.x86_64  
> >             --> Résolution des dépendances terminée    
> >             Erreur : Paquet : gdal-libs-1.11.0-3.rhel7.x86_64
> > (pgdg94) Requiert : libcfitsio.so.2()(64bit)
> >             Erreur : Paquet : gdal-libs-1.11.0-3.rhel7.x86_64
> > (pgdg94) Requiert : libfreexl.so.1()(64bit)
> >             Erreur : Paquet : postgis2_94-2.1.8-1.rhel7.x86_64
> > (pgdg94) Requiert : hdf5
> >             Erreur : Paquet : gdal-libs-1.11.0-3.rhel7.x86_64
> > (pgdg94) Requiert : libCharLS.so.1()(64bit)
> >             Erreur : Paquet : gdal-libs-1.11.0-3.rhel7.x86_64
> > (pgdg94) Requiert : libdapserver.so.7()(64bit)
> >             Erreur : Paquet : gdal-libs-1.11.0-3.rhel7.x86_64
> > (pgdg94) Requiert : libnetcdf.so.7()(64bit)
> > 
> > Mes recherches m'amènent ici : 
> > http://www.postgresql.org/message-id/[email protected]
> > Mais ce que Devrim Gündüz nous raconte dans ce post ne change
> > strictement rien.
> > Je trouve assez désolant qu'un rpm mis en place à cet endroit ne
> > soit pas opérationnel.
> > Merci par avance pour votre aide.
> > Alain.
> >   
> 
> bonjour,
> 
> pourquoi ne as avoir employé dnf ?
> http://www.tecmint.com/dnf-next-generation-package-management-utility-for-linux/
> 
> le repository pour centos :
> wget 
> https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-2.noarch.rpm
> 
> normalement c'est :
> 
> sudo rpm -ivh pgdg-centos95-9.5-2.noarch.rpm
> 
> 
> la doc pour rpm : http://www.gunduz.org/seminer/RPM/
> 
> désolé mais c'est en langue originelle ...
> 
> autrement :
> http://www.postgresonline.com/journal/archives/362-An-almost-idiots-guide-to-install-PostgreSQL-9.5,-PostGIS-2.2-and-pgRouting-2.1.0-with-Yum.html
> 
> slt
> bernard
> 
> 
> --
> Envoi via la liste pgsql-fr-generale
> ([email protected])

bonjour,

petit correctif pour la commande rpm :

sudo rpm -ivh
http://yum.postgresql.org/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-2.noarch.rpm

slt
bernard


--
Envoi via la liste pgsql-fr-generale ([email protected])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.