Originally posted by: jose1711
# ldd /usr/opt/rpm/lib/python2.7/site-packages/rpm/_rpm.so
/usr/opt/rpm/lib/python2.7/site-packages/rpm/_rpm.so needs:
/usr/opt/rpm/lib/librpm.so
/usr/opt/rpm/lib/libdb.so
/usr/opt/rpm/lib/librpmio.so
/usr/opt/rpm/lib/libnss3.so
/usr/opt/rpm/lib/libpopt.so
/lib/libc.a(shr.o)
/opt/freeware/lib/libpython2.7.a(libpython2.7.so)
/usr/opt/rpm/lib/libintl.a(libintl.so.8)
/usr/opt/rpm/lib/liblua.a(liblua-5.1.so)
/lib/libpthread.a(shr_xpg5.o)
/usr/opt/rpm/lib/libbz2.a(libbz2.so.1)
/usr/opt/rpm/lib/libz.a(libz.so.1)
/usr/opt/rpm/lib/libnssutil3.so
/usr/opt/rpm/lib/libplc4.so
/usr/opt/rpm/lib/libplds4.so
/usr/opt/rpm/lib/libnspr4.so
/unix
/lib/libcrypt.a(shr.o)
/lib/libpthreads.a(shr_comm.o)
/lib/libpthreads.a(shr_xpg5.o)
/opt/freeware/lib/libiconv.a(shr4.o)
/lib/libodm.a(shr.o)
/lib/libcfg.a(shr.o)
Setting LIBPATH gets me a bit further:
# LIBPATH=/usr/opt/rpm/lib:/opt/freeware/lib:/usr/lib yum
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
0509-150 Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so) could not be loaded.
0509-152 Member libcrypto.so is not found in archive
0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
0509-150 Dependent module /opt/freeware/lib/python2.7/site-packages/pycurl.so could not be loaded.
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.7.10 (default, Jun 22 2016, 05:57:59) [C]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
Maybe a clash with python-pycurl now?
# rpm -qf /opt/freeware/lib/python2.7/site-packages/pycurl.so
python-pycurl-7.19.3-1.ppc