[postgis-users] error running postgis.sql

Chris Faulkner chrisf at oramap.com
Wed Aug 20 06:53:48 PDT 2003


Thanks Gerry. I didn't do an /sbin/ldconfig. I didn't know that I had to.
I'll take a look.

Chris

-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net]On Behalf Of Gerry
Creager N5JXS
Sent: 20 August 2003 14:03
To: PostGIS Users Discussion
Subject: Re: [postgis-users] error running postgis.sql


Couple of things:  is /usr/local/pgsql/lib in /etc/ld.so.conf and if so,
did you re-run /sbin/ldconfig (as root)?  If not, the $libdir fails
reliably.  If you DID, then you need to a '/sbin/ldconfig -p' to see
what's in the cache.  If the appropriate directories are not there,
you've gotta revisit /etc/ld.so.conf and ldconfig.  A judicious check of
Man pages should help there.

gerry

Chris Faulkner wrote:
> HI
>
> I am on RedHat 9.0. I just replaced all occurences of $libdir with
> /usr/local/pgsql/lib and it all went it OK, seemingly. I was (and still
am)
> a little worried that the failure of $libdir might be indicative of a
deeper
> problem and editing postgis.sql might not be getting to the cause of it.
>
> If you have to edit $libdir, I would have expected the install guide to
say
> something. I am hoping that the make process that creates postgis.sql
didn't
> evaluate $libdir.
>
> Any other feedback from anyone ?
>
>
> Chris
>
> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net
> [mailto:postgis-users-bounces at postgis.refractions.net]On Behalf Of Obe,
> Regina DND\MIS
> Sent: 20 August 2003 13:25
> To: 'PostGIS Users Discussion'
> Subject: RE: [postgis-users] error running postgis.sql
>
>
> On cygwin - I've never been successful in getting that to work so I just
> change $libdir in the postgis.sql with the path to the lib folder e.g.
>
> /lib
>
> -----Original Message-----
> From: Chris Faulkner [mailto:chrisf at oramap.com]
> Sent: Wednesday, August 20, 2003 8:14 AM
> To: PostGIS Users Discussion
> Subject: [postgis-users] error running postgis.sql
>
>
> Hello
>
> I have successfully built, installed postgres 7.3.2 and postgis 0.7.5. I
am
> using the template1 database, createlang worked OK.
>
> When I run postgis.sql, I get this
>
> ERROR - stat failed on file '$libdir/libpostgis... '
>
> when it is running the first 2d histogram CREATE FUNCTION command in
> postgis.sql.
>
> The shared library it wants is installed, within a location on the
> LD_LIBRARY_PATH when I started postmaster and psql.
>
> Is $libdir a built-in variable. How and when is it set ?
>
> Thanks
>
> Chris Faulkner
>
>
>
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

--
Gerry Creager -- gerry.creager at tamu.edu
Network Engineering -- AATLT, Texas A&M University
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
Page: 979.228.0173
Office: 903A Eller Bldg, TAMU, College Station, TX 77843


_______________________________________________
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