[ELGIS] osm2pgsql-0-0.1.20100821svn_1.el5.elgis.x86_64 from installed has depsolving problems

Mathieu Baudier mbaudier at argeo.org
Mon Aug 15 11:37:30 EDT 2011


Hi,

I cannot look into details right now, but it seems that you have many
repositories providing geos.

Can you please execute:
yum repolist
(or similar)

Do you have the Postgresql RPMs repository enabled?

Cheers,

Mathieu
(from mobile)

On 15 Aug 2011 17:31, "Bill Thoen" <bthoen at gisnet.com> wrote:

 Tried to update things and ran into a problem with osm2pgsql. Seems it
can't find a library that I do have installed, but it gives me several
choices on what to try.  Which choice should I try first? Or should I just
add /usr/lib64 to my ldconfig directory or create a symbolic link to the
library? I'm still pretty new with linux sytem administration and when
presented with several choices I have no way to tel if they are correct or
if there's a better solution. I'd appreciate any help. I'd be especially
grateful for advice on how to work out solutions to problems like this, so
next time I'll know what to do. Thanks!

Here's the session:

Resolving Dependencies
--> Running transaction check
--> Processing Dependency: libgeos-3.2.2.so()(64bit) for package: osm2pgsql
---> Package geos.x86_64 0:3.3.0-1.rhel5 set to be updated
---> Package geos-devel.x86_64 0:3.3.0-1.rhel5 set to be updated
---> Package geos-python.x86_64 0:3.3.0-1.rhel5 set to be updated
---> Package geos-ruby.x86_64 0:3.3.0-1.rhel5 set to be updated
---> Package pgdg-centos.noarch 0:9.0-3 set to be updated
---> Package postgis90.x86_64 0:1.5.3-1.rhel5 set to be updated
---> Package postgis90-docs.x86_64 0:1.5.3-1.rhel5 set to be updated
---> Package postgis90-utils.x86_64 0:1.5.3-1.rhel5 set to be updated
--> Finished Dependency Resolution
osm2pgsql-0-0.1.20100821svn_1.el5.elgis.x86_64 from installed has depsolving
pro                             blems
  --> Missing Dependency: libgeos-3.2.2.so()(64bit) is needed by package
osm2pgs                             ql-0-0.1.20100821svn_1.el5.elgis.x86_64
(installed)
Error: Missing Dependency: libgeos-3.2.2.so()(64bit) is needed by package
osm2pg                             sql-0-0.1.20100821svn_1.el5.elgis.x86_64
(installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

So then I checked the GEOS package and it appears to be installed just fine.

# rpm -qi geos
Name        : geos                         Relocations: (not relocatable)
Version     : 3.2.2                             Vendor: (none)
Release     : 1.rhel5                       Build Date: Thu 07 Oct 2010
02:47:07 PM MDT
Install Date: Sat 29 Jan 2011 03:40:28 PM MST      Build Host:
koji-centos5-x86-64-pg90
Group       : Applications/Engineering      Source RPM:
geos-3.2.2-1.rhel5.src.rpm
Size        : 1764837                          License: LGPLv2
Signature   : DSA/SHA1, Thu 07 Oct 2010 02:47:09 PM MDT, Key ID
1f16d2e1442df0f8
URL         : http://trac.osgeo.org/geos/
Summary     : GEOS is a C++ port of the Java Topology Suite
Description :
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology
Suite (JTS). As such, it aims to contain the complete functionality of
JTS in C++. This includes all the OpenGIS "Simple Features for SQL" spatial
predicate functions and spatial operators, as well as specific JTS topology
functions such as IsValid()

Then I looked for libgeos.3.2.2.so and found it. What's wrong?

# locate libgeos
/usr/lib64/libgeos-3.2.2.so
/usr/lib64/libgeos.so
/usr/lib64/libgeos_c.so
/usr/lib64/libgeos_c.so.1
/usr/lib64/libgeos_c.so.1.6.2


_______________________________________________
el mailing list
el at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/el
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/el/attachments/20110815/9e88be9b/attachment.html


More information about the el mailing list