Proj cannot been found by postgis

3 messages Options
Embed this post
Permalink
Pena Kupen

Proj cannot been found by postgis

Reply Threaded More More options
Print post
Permalink
Hi all,

I'm new on this list.

I have problem when try to install postGIS from distro repo. I think my problem is installation of proj from source?

*I'm using CentOs 5.3

*Postgres 8.4. installed from rpm
*Proj.4 4.6.1 from source
*CEOS 3.1.1 from source
*try to install PostGIS 1.3.6 from repo with yum, but I got dependency errors:

yum install postgis

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * updates: centos.siirappi.com
 * base: centos.siirappi.com
 * addons: centos.siirappi.com
 * extras: centos.siirappi.com
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package postgis.i386 0:1.3.6-1.rhel5 set to be updated
--> Processing Dependency: libgeos_c.so.1 for package: postgis
--> Processing Dependency: proj for package: postgis
--> Processing Dependency: libproj.so.0 for package: postgis
--> Processing Dependency: /usr/bin/rebuild-gcj-db for package: postgis
--> Processing Dependency: geos for package: postgis
--> Running transaction check
---> Package geos.i386 0:2.2.3-3.rhel5 set to be updated
---> Package java-1.4.2-gcj-compat.i386 0:1.4.2.0-40jpp.115 set to be updated
filelists.xml.gz                                         | 139 kB     00:00
filelists.xml.gz                                         | 1.9 MB     00:00
filelists.sqlite.bz2                                     | 109 kB     00:00
--> Processing Dependency: jpackage-utils >= 1.6.6-1jpp_1rh for package: java-1.                                4.2-gcj-compat
--> Processing Dependency: jpackage-utils >= 1.6.6-1jpp_1rh for package: java-1.                                4.2-gcj-compat
--> Processing Dependency: libgcj >= 4.0.0-0.42 for package: java-1.4.2-gcj-comp                                at
--> Processing Dependency: libgcj >= 4.0.0-0.42 for package: java-1.4.2-gcj-comp                                at
--> Processing Dependency: /usr/bin/rebuild-security-providers for package: java                                -1.4.2-gcj-compat
--> Processing Dependency: /usr/lib/gcj-4.1.1/libjvm.so for package: java-14.2-                                gcj-compat
--> Processing Dependency: /usr/bin/gcj-dbtool for package: java-1.4.2-gcj-compa                                t
--> Processing Dependency: /usr/bin/gij for package: java-1.4.2-gcj-compat
--> Processing Dependency: /usr/bin/rebuild-security-providers for package: java                                -1.4.2-gcj-compat
--> Processing Dependency: /usr/bin/gcj-dbtool for package: java-1.4.2-gcj-compa                                t
--> Processing Dependency: /usr/bin/gij for package: java-1.4.2-gcj-compat
--> Processing Dependency: /usr/lib/gcj-4.1.1/libjvm.so for package: java-14.2-                                gcj-compat
--> Processing Dependency: gjdoc for package: java-1.4.2-gcj-compat
---> Package postgis.i386 0:1.3.6-1.rhel5 set to be updated
--> Processing Dependency: proj for package: postgis
--> Processing Dependency: libproj.so.0 for package: postgis
--> Running transaction check
---> Package jpackage-utils.noarch 0:1.7.3-1jpp.2.el5 set to be updated
---> Package postgis.i386 0:1.3.6-1.rhel5 set to be updated
--> Processing Dependency: proj for package: postgis
--> Processing Dependency: libproj.so.0 for package: postgis
---> Package libgcj.i386 0:4.1.2-44.el5 set to be updated
---> Package gjdoc.i386 0:0.7.7-12.el5 set to be updated
--> Processing Dependency: antlr for package: gjdoc
--> Running transaction check
---> Package antlr.i386 0:2.7.6-4jpp.2 set to be updated
---> Package postgis.i386 0:1.3.6-1.rhel5 set to be updated
--> Processing Dependency: proj for package: postgis
--> Processing Dependency: libproj.so.0 for package: postgis
--> Finished Dependency Resolution
postgis-1.3.6-1.rhel5.i386 from pgdg84 has depsolving problems
  --> Missing Dependency: proj is needed by package postgis-1.3.6-1.rhel5.i386 (                                pgdg84)
postgis-1.3.6-1.rhel5.i386 from pgdg84 has depsolving problems
  --> Missing Dependency: libproj.so.0 is needed by package postgis-1.3.6-1rhel                                5.i386 (pgdg84)
Error: Missing Dependency: proj is needed by package postgis-1.3.6-1.rhel5.i386                                 (pgdg84)
Error: Missing Dependency: libproj.so.0 is needed by package postgis-1.3.6-1.rhe                                l5.i386 (pgdg84)

At least libproj - files are there


/usr/local/lib/libproj.a
/usr/local/lib/libproj.la
/usr/local/lib/libproj.so
/usr/local/lib/libproj.so.0
/usr/local/lib/libproj.so.0.5.5

What am I missing?

--
pk


--
Saunalahti DataPaketti - tilaa nyt, saat 2 kk veloituksetta ja Nettitikun kaupan päälle!
http://saunalahti.fi/gsm/gsmdatapaketti.php 

_______________________________________________
Proj mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/proj
David Turover

Re: Proj cannot been found by postgis

Reply Threaded More More options
Print post
Permalink
On Thu, Jul 30, 2009 at 10:19:40AM +0300, Pena Kupen wrote:
> I have problem when try to install postGIS from distro repo. I think my problem is installation of proj from source?


yum might be looking for proj in its own database of installed rpms, in
which case it would not find anything that was compiled manually.
The easy solution, if possible, is to get an official rpm of proj from
your distro.

But it looks like you already know this (and Google is fast):
http://www.linuxforums.org/forum/redhat-fedora-linux-help/150648-solved-centos-yum-dependency-problem-postgis.html

 - David T.
_______________________________________________
Proj mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/proj
Pena Kupen

Re: Proj cannot been found by postgis

Reply Threaded More More options
Print post
Permalink
In reply to this post by Pena Kupen
Yeps you are right. I found reason for that:

Yum's CentOS-Base.repo file was not updated.

"In yum repo there where no exclude for postgres*. I add on sections [base] [upddates]
exclude=postgresql*"

And Google is fast!

--
pk

David Turover <[hidden email]> kirjoitti:

> On Thu, Jul 30, 2009 at 10:19:40AM +0300, Pena Kupen wrote:
> > I have problem when try to install postGIS from distro repo. I think my problem is installation of proj from source?
>
>
> yum might be looking for proj in its own database of installed rpms, in
> which case it would not find anything that was compiled manually.
> The easy solution, if possible, is to get an official rpm of proj from
> your distro.
>
> But it looks like you already know this (and Google is fast):
> http://www.linuxforums.org/forum/redhat-fedora-linux-help/150648-solved-centos-yum-dependency-problem-postgis.html
>
>  - David T.
> _______________________________________________
> Proj mailing list
> [hidden email]
> http://lists.maptools.org/mailman/listinfo/proj
>


--
Saunalahti DataPaketti - tilaa nyt, saat 2 kk veloituksetta ja Nettitikun kaupan päälle!
http://saunalahti.fi/gsm/gsmdatapaketti.php 

_______________________________________________
Proj mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/proj