[postgis-users] How can I update proj4 without recompile

Regina Obe lr at pcorp.us
Tue Nov 28 12:47:15 PST 2017


Run make install again

 

And note where it installs the files, you should see some flashing 

 

Cp  going on the screen.

 

I forget where it installs by default on Ubuntu.  Probably /usr/local/lib

 

If you don't want to install from scratch, you might be able to do 

 

apt-get install proj49

 

 

Anyrate, back to the query you ran where you got buggy answers?  What was the query?

 

 

I think a lot of the ST_Area fixes that involved proj49 would require PostGIS to know you are running proj49 to go thru the 4.9 more robust loop.

 

 

 

From: postgis-users [mailto:postgis-users-bounces at lists.osgeo.org] On Behalf Of Guido Stein
Sent: Tuesday, November 28, 2017 2:44 PM
To: PostGIS Users Discussion <postgis-users at lists.osgeo.org>
Subject: Re: [postgis-users] How can I update proj4 without recompile

 

1)

Not totally sure.

 

I downloaded the gz, then did the following:

- unzipped the gz

- went into the folder

- ran ./configure

- ran make

- ran make install

 

And that is where I stop understanding what I am doing or how to test the installation.

 

-guido

 

On Tue, Nov 28, 2017 at 1:44 PM Regina Obe <lr at pcorp.us <mailto:lr at pcorp.us> > wrote:

Guido,

 

1)      Have you already installed proj 4.9?  If so do you know what the libproj.so … is called?

2)      Which faulty areas are you getting, you have an example of such a query.  I fear that may be one of those bugs that is only fixable if PostGIS knows it is working with proj 4.9. Just want to rule that out.

 

 

Thanks,

Regina

 

 

 

From: postgis-users [mailto:postgis-users-bounces at lists.osgeo.org <mailto:postgis-users-bounces at lists.osgeo.org> ] On Behalf Of Guido Stein
Sent: Tuesday, November 28, 2017 12:59 PM
To: postgis-users at lists.osgeo.org <mailto:postgis-users at lists.osgeo.org> 
Subject: [postgis-users] How can I update proj4 without recompile

 

Hey folks,

 

I am trying to update the proj4 libraries on my postgis because I think the older version of proj4 is giving me faulty areas (known bug). I would like to go from 4.8 to 4.9.

 

In talking to some friends I found out that I can make a sym link from the existing proj4 to a newly compiled proj4 without an issue. But, I can't seem to figure that out completely and need a little help.

 

# Here is what is running on my system:

 

select version();

    PostgreSQL 9.5.10 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4, 64-bit

 

select postgis_full_version();

    POSTGIS="2.3.3 r15473" 

    GEOS="3.4.2-CAPI-1.8.2 r3921" 

    PROJ="Rel. 4.8.0, 6 March 2012" 

    GDAL="GDAL 1.10.1, released 2013/08/26" 

    LIBXML="2.9.1" 

    LIBJSON="0.11.99" 

    RASTER

 

# here is what I have done so far:

 

- locate the directory of the postgis

    pg_congif --pkglibdir

- get information about what libraries are associated with postgis

    ldd postgis-2.3

        libproj.so.0 => /usr/lib/libproj.so.0 (0x00007ff19e1dd000)

 

# this is where I loose the thread

 

I don't know if when I make install if there should be a file I need to link here?? Yeah I need a clue and would be grateful for any assistance on this.

 

-guido


This e-mail message and any attachments may contain confidential or legally privileged information. If you are not an intended recipient or otherwise authorized to receive this message, you should not use, copy, distribute, disclose or take any action based on the information contained in this e-mail or any attachments. If you have received this message and material in error, please advise the sender immediately by reply e-mail and delete this message. Thank you on behalf of Applied Geographics, Inc. (AppGeo).

_______________________________________________
postgis-users mailing list
postgis-users at lists.osgeo.org <mailto:postgis-users at lists.osgeo.org> 
https://lists.osgeo.org/mailman/listinfo/postgis-users


This e-mail message and any attachments may contain confidential or legally privileged information. If you are not an intended recipient or otherwise authorized to receive this message, you should not use, copy, distribute, disclose or take any action based on the information contained in this e-mail or any attachments. If you have received this message and material in error, please advise the sender immediately by reply e-mail and delete this message. Thank you on behalf of Applied Geographics, Inc. (AppGeo).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20171128/10470443/attachment.html>


More information about the postgis-users mailing list