Icadedt | 8 Oct 17:12 2012
Picon

install template postgis 2

Hi,

postgresql 9.2 and postgis 2 are successfully installed in my linux centos 6.3.
I would like to install postgis 2 template but i have this error message:

template_postgis=# CREATE EXTENSION postgis; ERROR: could not load library "/usr/pgsql-9.2/lib/postgis-2.0.so": /usr/pgsql-9.2/lib/postgis-2.0.so: undefined symbol: pj_get_spheroid_defn




Please i dont understand, proj4 4.8 is installed
Thanks
_______________________________________________
postgis-users mailing list
postgis-users <at> postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
Nicolas Ribot | 8 Oct 18:20 2012
Picon

Re: install template postgis 2

Hi,

Did you run ldconfig after the postgis/proj4 installation, or add the
path containing the lib in the ldd path ?

Nicolas

On 8 October 2012 17:12, Icadedt <icadedt <at> yahoo.fr> wrote:
> Hi,
>
> postgresql 9.2 and postgis 2 are successfully installed in my linux centos
> 6.3.
> I would like to install postgis 2 template but i have this error message:
>
> template_postgis=# CREATE EXTENSION postgis;
> ERROR:  could not load library "/usr/pgsql-9.2/lib/postgis-2.0.so":
> /usr/pgsql-9.2/lib/postgis-2.0.so: undefined symbol: pj_get_spheroid_defn
>
>
>
>
> Please i dont understand, proj4 4.8 is installed
> Thanks
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users <at> postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
Dave Potts | 8 Oct 23:03 2012
Picon

Re: install template postgis 2

I think you  need to set your LD_LIBRARY_PATH to include /usr/pgsql-9.2/lib
Icadedt wrote:
> Hi,
>
> postgresql 9.2 and postgis 2 are successfully installed in my linux centos
> 6.3.
> I would like to install postgis 2 template but i have this error message:
>
> template_postgis=# CREATE EXTENSION postgis;
> ERROR:  could not load library "/usr/pgsql-9.2/lib/postgis-2.0.so":
> /usr/pgsql-9.2/lib/postgis-2.0.so: undefined symbol: pj_get_spheroid_defn
>
>
>
>
> Please i dont understand, proj4 4.8 is installed
> Thanks
> _______________________________________________
> postgis-users mailing list
> postgis-users <at> postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>

--

-- 
Devrim GÜNDÜZ | 8 Oct 23:30 2012

Re: install template postgis 2


Hi,

On Mon, 2012-10-08 at 16:12 +0100, Icadedt wrote:

> postgresql 9.2 and postgis 2 are successfully installed in my linux
> centos 6.3. I would like to install postgis 2 template but i have this
> error message:
> 
> template_postgis=# CREATE EXTENSION postgis;
> ERROR:  could not load library
> "/usr/pgsql-9.2/lib/postgis-2.0.so": /usr/pgsql-9.2/lib/postgis-2.0.so: undefined symbol: pj_get_spheroid_defn
> 
> Please i dont understand, proj4 4.8 is installed 

Looks like you installed from RPMs. I checked the repo, and RPMs are
compiled against PROJ 4.8.0. Please make sure that you updated proj,
too.

Regards,
--

-- 
Devrim GÜNDÜZ
Principal Systems Engineer  <at>  EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz
_______________________________________________
postgis-users mailing list
postgis-users <at> postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

Gmane