[postgis-users] "ERROR: could not access file "$libdir/postgis-1.5": No such file or directory"
gissur at loftmyndir.is
Sat Mar 13 07:15:21 PST 2010
pramsey solved this for me on irc:
I had installed and then removed postgresql 8.3 via apt previously - but
some of it was still hanging about, to wit:
[120310 16:52:30] <pramsey> the problem is you have a system pg_config in
/usr/bin, but I imagine the postgresql you are running is the one from
[120310 16:53:04] <pramsey> export PATH=/usr/local/pgsql/bin:$PATH and the
reconfigure, rebuild, reinstall your postgis
This did the trick
and kind regards from Iceland,
On Fri, Mar 12, 2010 at 7:13 PM, Jorge Arevalo <jorgearevalo at gis4free.org>wrote:
> 2010/3/12 Gissur Þórhallsson <gissur at loftmyndir.is>:
> > Hi,
> > I'm setting up postgis on a Ubuntu 8.0.4 LTS Server that I'm setting up.
> > I decided that it would be best for me build Postgis 1.5 from source so
> > that's what I did - starting with Postgres 8.4.2 from trunk through GEOS
> > PROJ and everything went fine. I've now also compiled postgis 1.5 and was
> > preparing to run new_postgis_restore.pl to restore my database (migrated
> > from windows postgresql 8.2).
> > When I try to run psql postgis.sql on the database I intend to restore
> > (as stipulated inside new_postgis_restore.pl) I get the
> > following: http://postgis.pastebin.com/TCC0yk35
> > Running $ldd /absolute/path/to/postgis-1.5.so returns
> > this: http://postgis.pastebin.com/yERz1HeY (which looks normal enough)
> > For further reference I enclose my pg_config
> > output: http://postgis.pastebin.com/6u3zfTyc
> > LIBDIR is set to /usr/lib in there, and my postgis-1.5.so is located
> > at /usr/lib/postgresql/8.4/lib/ postgis-1.5.so
> > Does anybody have any ideas?
> > Kind regards from Iceland,
> > Gissur Þórhallsson
> > Loftmyndir ehf.
> > Laugavegur 13
> > IS 101 Reykjavík - Iceland
> > sími (tel): (+354) 540 2500
> > tölvupóstur (email): gissur at loftmyndir.is
> Try adding /usr/lib/postgresql/8.4/lib/postgis-1.5.so to
> /etc/ld.so.conf and then executing "sudo ldconfig"
> Hope this helps...
> Best regards,
> > _______________________________________________
> > 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
IS 101 Reykjavík - Iceland
sími (tel): (+354) 540 2500
tölvupóstur (email): gissur at loftmyndir.is
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the postgis-users