Cannot install rpm on Red Hat 9.0.

Greetings.

   I downloaded wxPythonGTK-py2.2-2.4.0.7-1.src.rpm, built it and tried to install the resulting wxPythonGTK-py2.2-2.4.0.7-1.i686.rpm. However, I am having problems with it. Note that when I try to install rpms of other packages, they work well without any complaints. So I am not sure if the problems I have experiencing are caused by the RPM system; I have a hunch that maybe the spec file has an issue with RH 9.0. Anybody care to comment?

···

-----------------------------------------------------------------------------
[root@world i686]# rpm -Uhv wxPythonGTK-py2.2-2.4.0.7-1.i686.rpm
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
warning: cannot open Solve database in /usr/lib/rpmdb/i386-redhat-linux/redhat
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
warning: cannot open Solve database in /usr/lib/rpmdb/i386-redhat-linux/redhat
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
warning: cannot open Solve database in /usr/lib/rpmdb/i386-redhat-linux/redhat
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
warning: cannot open Solve database in /usr/lib/rpmdb/i386-redhat-linux/redhat
error: Failed dependencies:
         libwx_gtkd-2.4.so is needed by wxPythonGTK-py2.2-2.4.0.7-1
         libwx_gtkd-2.4.so(WXGTKD_2.4) is needed by wxPythonGTK-py2.2-2.4.0.7-1
         libwx_gtkd_gl-2.4.so is needed by wxPythonGTK-py2.2-2.4.0.7-1
         libwx_gtkd_gl-2.4.so(WXGTKD_2.4) is needed by wxPythonGTK-py2.2-2.4.0.7-1
-----------------------------------------------------------------------------

Sincerely,
Hans Deragon
--
Deragon Informatique inc. Open source:
http://www.deragon.biz http://swtmvcwrapper.sourceforge.net
mailto://hans@deragon.biz http://autopoweroff.sourceforge.net

Hans Deragon wrote:

Greetings.

  I downloaded wxPythonGTK-py2.2-2.4.0.7-1.src.rpm, built it and tried to install the resulting wxPythonGTK-py2.2-2.4.0.7-1.i686.rpm. However, I am having problems with it. Note that when I try to install rpms of other packages, they work well without any complaints. So I am not sure if the problems I have experiencing are caused by the RPM system; I have a hunch that maybe the spec file has an issue with RH 9.0. Anybody care to comment?

-----------------------------------------------------------------------------

[root@world i686]# rpm -Uhv wxPythonGTK-py2.2-2.4.0.7-1.i686.rpm

[...]

error: Failed dependencies:
        libwx_gtkd-2.4.so is needed by wxPythonGTK-py2.2-2.4.0.7-1
        libwx_gtkd-2.4.so(WXGTKD_2.4) is needed by wxPythonGTK-py2.2-2.4.0.7-1
        libwx_gtkd_gl-2.4.so is needed by wxPythonGTK-py2.2-2.4.0.7-1
        libwx_gtkd_gl-2.4.so(WXGTKD_2.4) is needed by wxPythonGTK-py2.2-2.4.0.7-1
-----------------------------------------------------------------------------

This has already been reported and a patch for the spec file was given. It has something to do with the newest version of RPM needing explicit "provides" directives for the shared libs when they are debug versions, otherwise they are expected to be found in another .rpm or something... I don't have the patch handy but you may be able to find it in the archives for this list.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!