<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="+1"><font face="Georgia">Tried to update things and ran
        into a problem with </font></font><font size="+1"><font
        face="Georgia">osm2pgsql. Seems it can't find a library that I
        do have installed, but it gives me several choices on what to
        try.&nbsp; Which choice should I try first?</font></font> 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!<br>
    <br>
    Here's the session:<br>
    <br>
    <font face="Courier New, Courier, monospace">Resolving Dependencies<br>
      --&gt; Running transaction check<br>
      --&gt; Processing Dependency: libgeos-3.2.2.so()(64bit) for
      package: osm2pgsql<br>
      ---&gt; Package geos.x86_64 0:3.3.0-1.rhel5 set to be updated<br>
      ---&gt; Package geos-devel.x86_64 0:3.3.0-1.rhel5 set to be
      updated<br>
      ---&gt; Package geos-python.x86_64 0:3.3.0-1.rhel5 set to be
      updated<br>
      ---&gt; Package geos-ruby.x86_64 0:3.3.0-1.rhel5 set to be updated<br>
      ---&gt; Package pgdg-centos.noarch 0:9.0-3 set to be updated<br>
      ---&gt; Package postgis90.x86_64 0:1.5.3-1.rhel5 set to be updated<br>
      ---&gt; Package postgis90-docs.x86_64 0:1.5.3-1.rhel5 set to be
      updated<br>
      ---&gt; Package postgis90-utils.x86_64 0:1.5.3-1.rhel5 set to be
      updated<br>
      --&gt; Finished Dependency Resolution<br>
      osm2pgsql-0-0.1.20100821svn_1.el5.elgis.x86_64 from installed has
      depsolving pro&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; blems<br>
      &nbsp; --&gt; Missing Dependency: libgeos-3.2.2.so()(64bit) is needed
      by package osm2pgs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      ql-0-0.1.20100821svn_1.el5.elgis.x86_64 (installed)<br>
      Error: Missing Dependency: libgeos-3.2.2.so()(64bit) is needed by
      package osm2pg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      sql-0-0.1.20100821svn_1.el5.elgis.x86_64 (installed)<br>
      &nbsp;You could try using --skip-broken to work around the problem<br>
      &nbsp;You could try running: package-cleanup --problems<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; package-cleanup --dupes<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rpm -Va --nofiles --nodigest<br>
      <br>
    </font>So then I checked the GEOS package and it appears to be
    installed just fine.<br>
    <font face="Courier New, Courier, monospace"><br>
      # rpm -qi geos<br>
      Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : geos&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Relocations: (not
      relocatable)<br>
      Version&nbsp;&nbsp;&nbsp;&nbsp; : 3.2.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Vendor: (none)<br>
      Release&nbsp;&nbsp;&nbsp;&nbsp; : 1.rhel5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Build Date: Thu 07 Oct
      2010 02:47:07 PM MDT<br>
      Install Date: Sat 29 Jan 2011 03:40:28 PM MST&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Build Host:
      koji-centos5-x86-64-pg90<br>
      Group&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Applications/Engineering&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Source RPM:
      geos-3.2.2-1.rhel5.src.rpm<br>
      Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1764837&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; License: LGPLv2<br>
      Signature&nbsp;&nbsp; : DSA/SHA1, Thu 07 Oct 2010 02:47:09 PM MDT, Key ID
      1f16d2e1442df0f8<br>
      URL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : <a class="moz-txt-link-freetext" href="http://trac.osgeo.org/geos/">http://trac.osgeo.org/geos/</a><br>
      Summary&nbsp;&nbsp;&nbsp;&nbsp; : GEOS is a C++ port of the Java Topology Suite<br>
      Description :<br>
      GEOS (Geometry Engine - Open Source) is a C++ port of the Java
      Topology<br>
      Suite (JTS). As such, it aims to contain the complete
      functionality of<br>
      JTS in C++. This includes all the OpenGIS "Simple Features for
      SQL" spatial<br>
      predicate functions and spatial operators, as well as specific JTS
      topology<br>
      functions such as IsValid()<br>
      <br>
    </font>Then I looked for libgeos.3.2.2.so and found it. What's
    wrong?<br>
    <font face="Courier New, Courier, monospace"><br>
      # locate libgeos<br>
      /usr/lib64/libgeos-3.2.2.so<br>
      /usr/lib64/libgeos.so<br>
      /usr/lib64/libgeos_c.so<br>
      /usr/lib64/libgeos_c.so.1<br>
      /usr/lib64/libgeos_c.so.1.6.2<br>
    </font><font size="+1"><font face="Georgia"><br>
      </font></font>
  </body>
</html>