Re: Trouble installing PostGIS on Amazon Linux server

From: Augori <augori(at)gmail(dot)com>
To: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
Cc: Chris Mair <chris(at)1006(dot)org>, pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Trouble installing PostGIS on Amazon Linux server
Date: 2016-02-15 20:41:43
Message-ID: CAFE+72P4QGyoAQgX+UGLEZHL-71BpznNqADbhh911BnaNDhRTg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Devrim,

I was told that "The amazon linux is compatible with Centos 6.x". Does
that correspond to RHEL 6? Is there a command I could use to find
out?

Is there a way I can force yum to install the RHEL 6 version?

Thank you,
Augori

On Mon, Feb 15, 2016 at 3:26 PM, Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> wrote:

>
> Hi,
>
> Just checked my RHEL 6 and RHEL 7 boxes. RHEL 6 provides libpoppler.so.5,
> and
> RHEL 7 provides libpoppler.so.46 . I cannot find any reference to .37 :(
> Where
> did you get it from?
>
> I am not an Amazon AMI user -- is your version based on RHEL 6 or RHEL 7?
>
> Regards, Devrim
>
> On Mon, 2016-02-15 at 10:05 -0500, Augori wrote:
> > It installed poppler successfully but still gives the same error. I did
> > notice that it installed libpoppler 37 and the postgis2_93 install error
> > seems to be looking for version 5
> > [root(at)ip-user]# ls /usr/lib64/libpo*
> > /usr/lib64/libpoppler-cpp.so /usr/lib64/libpoppler.so
> > /usr/lib64/libpoppler-cpp.so.0 /usr/lib64/libpoppler.so.37
> > /usr/lib64/libpoppler-cpp.so.0.2.0 /usr/lib64/libpoppler.so.37.0.0
> >
> > [root(at)ip-ec2-user]# yum install postgis2_93 --enablerepo=epel (same
> > results both with and without the enable repo flag)
> > .
> > . (lots of stuff not included here)
> > .
> > Error: Package: gdal-libs-1.9.2-6.rhel6.x86_64 (pgdg93)
> > Requires: libpoppler.so.5()(64bit)
> > You could try using --skip-broken to work around the problem
> > You could try running: rpm -Va --nofiles --nodigest
> >
> > Perhaps I should uninstall the 37 version and install the 5.0
> version? Any
> > idea how to get it to install the 5.0 version?
> >
> > Thanks
> >
> >
> > On Sun, Feb 14, 2016 at 11:14 PM, Chris Mair <chris(at)1006(dot)org> wrote:
> >
> > >
> > > Error: Package: gdal-libs-1.9.2-6.rhel6.x86_64 (pgdg93)
> > > > Requires: libpoppler.so.5()(64bit)
> > > > You could try using --skip-broken to work around the problem
> > > > You could try running: rpm -Va --nofiles --nodigest
> > > >
> > >
> > > Hi,
> > >
> > > what happens if you try to install libpoppler (it is in the standard
> > > Amazon repo)?
> > >
> > > yum install poppler poppler-devel poppler-cpp poppler-cpp-devel
> > >
> > > Bye,
> > > Chris.
> > >
> > >
> > >
>
> --
> Devrim GÜNDÜZ
> Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
> PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
> Twitter: @DevrimGunduz , @DevrimGunduzTR
>
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message FarjadFarid(ChkNet) 2016-02-15 21:18:50 using npgsql and EF6 under asp.net5
Previous Message Devrim GÜNDÜZ 2016-02-15 20:26:55 Re: Trouble installing PostGIS on Amazon Linux server