[postgis-users] Installation with Proj
Rob Agar
robagar at westnet.com.au
Mon Jun 4 03:15:06 PDT 2007
I think I had this same problem - if it was the same one, running
ldconfig to rebuild the shared object cache fixed it.
ht (might) h
Rob
Andy Dale wrote:
> After installing proj, the contents under /usr/local/lib are
>
> -rw-r--r-- 1 root root 1300710 Jun 4 12:05 libproj.a
> -rwxr-xr-x 1 root root 796 Jun 4 12:05 libproj.la <http://libproj.la>
> lrwxrwxrwx 1 root root 16 Jun 4 12:05 libproj.so -> libproj.so.0.5.2
> lrwxrwxrwx 1 root root 16 Jun 4 12:05 libproj.so.0 -> libproj.so.0.5.2
> -rwxr-xr-x 1 root root 758060 Jun 4 12:05 libproj.so.0.5.2
>
> Postgis recompiled fine after the installation of proj, it even auto
> found the proj on the system. The problem comes when i try and run the
> sql script to upgrade postgis
>
> Cheers,
>
> Andy
>
>
> On 04/06/07, *jrom* <jerome.gasperi at gmail.com
> <mailto:jerome.gasperi at gmail.com>> wrote:
>
> Hi Andy,
>
> After ./configure did you recompile postgis without any problem ?
> If the compilation ran well then you should check under /usr/local/lib
> if you have libproj.so.0 file that should be a link to the current
> libproj.
>
> For example a typical proj 5 installation you should have something
> like this under /usr/local/lib :
> lrwxrwxrwx 1 gass gass 16 2005-09-13 14:47 libproj.so ->
> libproj.so.0.5.0
> lrwxrwxrwx 1 gass gass 16 2005-09-13 14:47 libproj.so.0 ->
> libproj.so.0.5.0
> -rwxr-xr-x 1 gass gass 657462 2005-09-13 14:47 libproj.so.0.5.0
>
> As you can see libproj.so.0 is a dynamic link to libproj.so.0.5.0.
> If this link is not present you can create it
>
> Hope this help
>
> On 6/4/07, Andy Dale <andy.dale at gmail.com
> <mailto:andy.dale at gmail.com>> wrote:
> > Hi,
> >
> > I managed to install and use Postgis without any problems,
> > but later found out that i could not do any
> > reprojections without the proj library.
> >
> > I downloaded and installed the proj library. I then
> > attempted to re-install Postgis with proj
> > support like so:
> >
> > ./configure --with-proj=yes (without specifying this flag it
> still find the
> > proj library) It produces the following output:
> >
> > SUMMARY
> > -------------------------------------------------------
> >
> > HOST_OS: linux-gnu
> >
> > PGSQL: /usr/bin/pg_config
> > PROJ: prefix=/usr/local libdir=/usr/local/lib
> > ICONV: 1
> >
> > PORTNAME: linux
> > PREFIX: /usr
> > EPREFIX: ${prefix}
> > DOC: /usr/share/doc/postgresql/contrib
> > DATA: ${datarootdir}
> > MAN: ${datarootdir}/man
> > BIN: /usr/bin
> > EXT: /usr/lib/pgsql (\$$libdir)
> > -------------------------------------------------------
> >
> > Now when i try to run either the lwpostgis_upgrade.sql or
> lwpostgis.sql
> > (creates histogram2d then fails) i get the following error
> >
> > ERROR: could not load library
> > "/usr/lib/pgsql/liblwgeom.so.1.2": libproj.so.0: cannot
> > open shared object file: No such file or directory
> >
> > Can anyone tell me where i have gone wrong in the installation ??
> >
> > Thanks in advance,
> >
> > Andy
> >
> >
> >
> >
> >
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at postgis.refractions.net
> <mailto:postgis-users at postgis.refractions.net>
> > http://postgis.refractions.net/mailman/listinfo/postgis-users
> >
> >
>
>
> --
> J.
> http://geogurus.org/jrom
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> <mailto:postgis-users at postgis.refractions.net>
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> <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
More information about the postgis-users
mailing list