[postgis-users] shp2pgsql error

Jan Hartmann j.l.h.hartmann at uva.nl
Fri Dec 14 07:24:07 PST 2012


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 
(http://trac.osgeo.org/postgis/ticket/1890). 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.

Jan

On 12/14/2012 04:06 PM, Jeff Lake wrote:
> just a follow up, I had to revert back to postGIS2.0.1 as this is a 
> full production database server...
>
> interesting enough, this is the output from ldd /usr/bin/shp2pgsql
> quite the difference, both versions built with the same configure flag
>
>
> ldd /usr/bin/shp2pgsql
>         linux-vdso.so.1 =>  (0x00007fff4b3f8000)
>         liblwgeom-2.0.1.so => /usr/local/lib/liblwgeom-2.0.1.so 
> (0x00007fe6b2e9a000)
>         libgeos_c.so.1 => /usr/lib64/libgeos_c.so.1 (0x00007fe6b2c75000)
>         libproj.so.0 => /usr/lib64/libproj.so.0 (0x0000003633e00000)
>         libc.so.6 => /lib64/libc.so.6 (0x0000003633a00000)
>         libgeos-3.3.6.so => /usr/lib64/libgeos-3.3.6.so 
> (0x00007fe6b28e2000)
>         libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003032200000)
>         libm.so.6 => /lib64/libm.so.6 (0x0000003634600000)
>         libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003031600000)
>         /lib64/ld-linux-x86-64.so.2 (0x0000003633600000)
>
>
>
>
> *Jeff Lake*
> MichiganWxSystem <http://www.michiganwxsystem.com>
> AllisonHouse <http://www.allisonhouse.com>
> GRLevelXStuff <http://www.grlevelxstuff.com>
> On 12/14/2012 9:20, Jeff Lake wrote:
>> I just upgraded my postGIS2.0.1 to 2.0.2 from source..
>> Now, I'm getting this error
>>
>> shp2pgsql: error while loading shared libraries: liblwgeom-2.0.2.so: 
>> cannot open shared object file: No such file or directory
>>
>> liblwgeom-2.0.2.so  was found in /usr/local/lib/
>>
>> #    ldd /usr/bin/shp2pgsql
>>         linux-vdso.so.1 =>  (0x00007fff27c5a000)
>>         liblwgeom-2.0.2.so => not found
>>         libc.so.6 => /lib64/libc.so.6 (0x0000003633a00000)
>>         /lib64/ld-linux-x86-64.so.2 (0x0000003633600000)
>>
>>
>> I must have missed a configure flag, but which one ??
>>
>> -- 
>> *Jeff Lake*
>> MichiganWxSystem <http://www.michiganwxsystem.com>
>> AllisonHouse <http://www.allisonhouse.com>
>> GRLevelXStuff <http://www.grlevelxstuff.com>
>>
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users

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


More information about the postgis-users mailing list