[postgis-users] ERROR: could not load library "/usr/local/pgsql/lib/postgis-1.5.so

Paul Ramsey pramsey at opengeo.org
Thu May 27 07:54:26 PDT 2010


Sounds like you have an older version of GEOS floating around somewhere.

find / -name "libgeos_c.*"

P.

On Thu, May 27, 2010 at 10:51 AM, Kai Behncke <Kai-Behncke at gmx.de> wrote:
> Hi all,
> thank you again.
>
> I again installed geos (3.2.2) and proj (4.7) and after each I did a "ldconfig", but even though
> the error appears:
>
> --------------
>
> CREATE OR REPLACE FUNCTION st_spheroid_in(cstring)
>        RETURNS spheroid
>        AS '$libdir/postgis-1.5','ellipsoid_in'
>        LANGUAGE 'C' IMMUTABLE STRICT;
>
>
> ERROR:  could not load library "/usr/local/pgsql/lib/postgis-1.5.so": /usr/local/pgsql/lib/postgis-1.5.so: undefined symbol: GEOSHausdorffDistance
>
> --------------
> That is really weird??
>
> Best regards, Kai
>
>
>
> -------- Original-Nachricht --------
>> Datum: Thu, 27 May 2010 10:39:10 -0400
>> Von: Paul Ramsey <pramsey at opengeo.org>
>> An: PostGIS Users Discussion <postgis-users at postgis.refractions.net>
>> Betreff: Re: [postgis-users] ERROR: could not load library    "/usr/local/pgsql/lib/postgis-1.5.so
>
>> Yes, after installing a new library, run ldconfig as root. This
>> informs the linker to check for new libraries (in the directories
>> listed in /etc/ld.so.conf)
>>
>> P
>>
>> On Thu, May 27, 2010 at 10:31 AM, Kai Behncke <Kai-Behncke at gmx.de> wrote:
>> > Hi you
>> >>
>> >> I bet on missing ldconfig after libproj install.
>> >>
>> >> --strk;
>> >>
>> >
>> > You mean I need to do a ldconfig after that??
>> > (that iscompletely new for me.....)
>> >
>> > Indeed I did with that library "configure", "make", "make install".
>> >
>> > Best regards, Kai
>> >
>> >
>> > --
>> > GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
>> > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
>> > _______________________________________________
>> > postgis-users mailing list
>> > postgis-users at postgis.refractions.net
>> > http://postgis.refractions.net/mailman/listinfo/postgis-users
>> >
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
> --
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



More information about the postgis-users mailing list