Hi folks
while running
yum install curl, i may have corrupted python 2.7.10
$yum list
exec(): 0509-036 Cannot load program /opt/freeware/bin/python2 because of the following errors:
0509-150 Dependent module /opt/freeware/lib64/libpython2.7.a(libpython2.7.so) could not be loaded.
0509-103 The module has an invalid magic number.
$ldd /opt/freeware/bin/python2
/opt/freeware/bin/python2 needs:
/usr/lib/libbsd.a(shr.o)
/opt/freeware/lib64/libpython2.7.a(libpython2.7.so)
ar: 0707-109 Member name libpython2.7.so does not exist.
dump: /tmp/tmpdir11272634/extract/libpython2.7.so: 0654-106 Cannot open the specified file.
/usr/lib/libpthreads.a(shr_xpg5.o)
/usr/lib/libc.a(shr.o)
/usr/lib/librtl.a(shr.o)
/unix
/usr/lib/libpthreads.a(shr_comm.o)
/usr/lib/libcrypt.a(shr.o)
$echo $LIBPATH
/opt/freeware/lib64:/opt/freeware/lib:
$ls -l /opt/freeware/lib64/libpython2.7.a
-r-xr-xr-x 1 root system 7212825 Jun 22 2016 /opt/freeware/lib64/libpython2.7.a
root @ $ls -l /opt/freeware/lib/libpython2.7.a
-r-xr-xr-x 1 root system 6117999 Jun 22 2016 /opt/freeware/lib/libpython2.7.a
Anyone has similar issue?
Your help is greatly appreciated
Dharma
------------------------------
Dharma Sanassy
------------------------------
#AIXOpenSource