<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Times New Roman, Times, serif">There seems to be a
problem with liblwgeom.h when upgrading PostGIS over an existing
installation: the system gets confused between the installed
version and the version in the source code. I thought this was
only so when compiling for non-standard locations and filed a
ticket for it (<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/postgis/ticket/1890">http://trac.osgeo.org/postgis/ticket/1890</a>). I'm not
sure what you should do, but try to get all older version of
liblwgeom.h out of the way and do a new, clean compile/install.<br>
<br>
Jan<br>
</font><br>
<div class="moz-cite-prefix">On 12/14/2012 04:06 PM, Jeff Lake
wrote:<br>
</div>
<blockquote cite="mid:50CB407D.20602@michiganwxsystem.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div class="moz-cite-prefix">just a follow up, I had to revert
back to postGIS2.0.1 as this is a full production database
server...<br>
<br>
interesting enough, this is the output from ldd
/usr/bin/shp2pgsql<br>
quite the difference, both versions built with the same
configure flag<br>
<br>
<br>
ldd /usr/bin/shp2pgsql<br>
linux-vdso.so.1 => (0x00007fff4b3f8000)<br>
liblwgeom-2.0.1.so =>
/usr/local/lib/liblwgeom-2.0.1.so (0x00007fe6b2e9a000)<br>
libgeos_c.so.1 => /usr/lib64/libgeos_c.so.1
(0x00007fe6b2c75000)<br>
libproj.so.0 => /usr/lib64/libproj.so.0
(0x0000003633e00000)<br>
libc.so.6 => /lib64/libc.so.6 (0x0000003633a00000)<br>
libgeos-3.3.6.so => /usr/lib64/libgeos-3.3.6.so
(0x00007fe6b28e2000)<br>
libstdc++.so.6 => /usr/lib64/libstdc++.so.6
(0x0000003032200000)<br>
libm.so.6 => /lib64/libm.so.6 (0x0000003634600000)<br>
libgcc_s.so.1 => /lib64/libgcc_s.so.1
(0x0000003031600000)<br>
/lib64/ld-linux-x86-64.so.2 (0x0000003633600000)<br>
<br>
<br>
<br>
<br>
<div class="moz-signature"><b>Jeff Lake</b><br>
<a moz-do-not-send="true"
href="http://www.michiganwxsystem.com">MichiganWxSystem</a><br>
<a moz-do-not-send="true" href="http://www.allisonhouse.com">AllisonHouse</a><br>
<a moz-do-not-send="true" href="http://www.grlevelxstuff.com">GRLevelXStuff</a></div>
On 12/14/2012 9:20, Jeff Lake wrote:<br>
</div>
<blockquote cite="mid:50CB3596.1080507@michiganwxsystem.com"
type="cite"> I just upgraded my postGIS2.0.1 to 2.0.2 from
source..<br>
Now, I'm getting this error<br>
<br>
shp2pgsql: error while loading shared libraries:
liblwgeom-2.0.2.so: cannot open shared object file: No such file
or directory<br>
<br>
liblwgeom-2.0.2.so was found in /usr/local/lib/<br>
<br>
# ldd /usr/bin/shp2pgsql<br>
linux-vdso.so.1 => (0x00007fff27c5a000)<br>
liblwgeom-2.0.2.so => not found<br>
libc.so.6 => /lib64/libc.so.6 (0x0000003633a00000)<br>
/lib64/ld-linux-x86-64.so.2 (0x0000003633600000)<br>
<br>
<br>
I must have missed a configure flag, but which one ??<br>
<br>
<div class="moz-signature">-- <br>
<b>Jeff Lake</b><br>
<a moz-do-not-send="true"
href="http://www.michiganwxsystem.com">MichiganWxSystem</a><br>
<a moz-do-not-send="true" href="http://www.allisonhouse.com">AllisonHouse</a><br>
<a moz-do-not-send="true" href="http://www.grlevelxstuff.com">GRLevelXStuff</a></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
postgis-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a>
</pre>
</blockquote>
<br>
</body>
</html>