[postgis-users] shp2pgsql error

Jeff Lake jeff at michiganwxsystem.com
Fri Dec 14 07:06:37 PST 2012


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

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


More information about the postgis-users mailing list