Hi, I am attempting to install the rpm python2-2.2.3-1 and get the following error: edev:/home/mlong # rpm -Uvh python2-2.2.3-1.i386.rpm error: failed dependencies: libcrypto.so.4 is needed by python2-2.2.3-1 libssl.so.4 is needed by python2-2.2.3-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 is needed by python2-2.2.3-1 I then tried updating openssl-0.9.6i-12 with openssl-0.9.7a-16 and got a large list of failed dependencies. The two files I need are a part of the latest openssl package. How should I go about resolving the python dependencies? Thanks, Mike
On Wed, Aug 06, 2003 at 02:37:27PM -0400, Michael Long wrote: mlong> I am attempting to install the rpm python2-2.2.3-1 and get the following mlong> error: mlong> mlong> edev:/home/mlong # rpm -Uvh python2-2.2.3-1.i386.rpm mlong> error: failed dependencies: mlong> libcrypto.so.4 is needed by python2-2.2.3-1 mlong> libssl.so.4 is needed by python2-2.2.3-1 mlong> rpmlib(PartialHardlinkSets) <= 4.0.4-1 is needed by mlong> python2-2.2.3-1 mlong> mlong> I then tried updating openssl-0.9.6i-12 with openssl-0.9.7a-16 mlong> and got a large list of failed dependencies. The two files I need are a mlong> part of the latest openssl package. How should I go about resolving the mlong> python dependencies? What Linux distribution and release are you using? Where did you get those RPM packages from? You really should only use RPM packages for your specific distribution and release. Ideally, you should use the ones that came as a part of your distribution, if available. For example, Red Hat Linux 7.3 has python2 RPMs that come with it, and newer bug-fixed ones available as errata updates (ftp://updates.redhat.com/): python2-2.2.2-3.7.3.i386.rpm python2-devel-2.2.2-3.7.3.i386.rpm python2-docs-2.2.2-3.7.3.i386.rpm and Red Hat Linux 9 already has python 2 as the default: python-2.2.2-26.i386.rpm python-optik-1.4-2.noarch.rpm python-docs-2.2.2-26.i386.rpm python-devel-2.2.2-26.i386.rpm python-tools-2.2.2-26.i386.rpm If you just grabbed whatever RPM packages you could find, they are probably not built against the proper versions of your system libraries, which in your case are openssl and rpm. You cannot just upgrade system libraries without breaking much of the rest of your system. If you must have that particular version of python2, consider recompiling the src.rpm so that it will be built against your exact system library versions: rpmbuild --rebuild python2-2.2.3-1.src.rpm Then install the resulting binary rpms that are built: rpm -Uvh /usr/src/redhat/RPMS/i386/python2-2.2.3-1.i386.rpm -- Charles R. Anderson <cra@wpi.edu> / http://angus.ind.wpi.edu/~cra/ PGP Key ID: 49BB5886 Fingerprint: EBA3 A106 7C93 FA07 8E15 3AC2 C367 A0F9 49BB 5886
participants (2)
-
Charles R. Anderson
-
Michael Long