[postgis-users] shp2pgsql error

Sandro Santilli strk at keybit.net
Fri Dec 14 07:30:00 PST 2012


Sounds like you didn't run "sudo ldconfig" after install of 2.0.2.
Possible ?

--strk;

On Fri, Dec 14, 2012 at 10:06:37AM -0500, 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


-- 

 http://www.cartodb.com - Map, analyze and build applications with your data

                                       ~~ http://strk.keybit.net 



More information about the postgis-users mailing list