| Summary: | yum update produces undefined symbol PyUnicodeUCS4_AsUTF8String | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | George R. Goffe <grgoffe> |
| Component: | python | Assignee: | Dave Malcolm <dmalcolm> |
| Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | dmalcolm, ivazqueznet, jonathansteffan |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-08 00:04:36 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
George R. Goffe
2011-03-06 20:52:53 UTC
Thanks for filing this bug report. What is the output of running the following commands: python -c"import rpm._rpm" rpm -qa rpm rpm-python python python-libs python -c"import sys; print sys.path" eu-readelf -s /usr/lib*/libpython2.*.so.1.0|grep PyUnicodeUCS4_AsUTF8String eu-readelf -s /usr/lib*/python2.*/site-packages/rpm/_rpmmodule.so| grep PyUnicodeUCS4_AsUTF8String echo $PYTHONPATH Thanks User rebuilt Python in a form incompatible with Fedora-provided C modules (i.e., using UCS-2 instead of UCS-4 as the internal format for unicode strings). As such, there is nothing that we can do to resolve this. Ignacio,
Here is the output of the commands you asked me to run above.
George...
./tstpython
module () { eval `/usr/bin/modulecmd bash $*`
}
#!/bin/bash -xv
python -c"import rpm._rpm"
+ python '-cimport rpm._rpm'
rpm -qa rpm rpm-python python python-libs
+ rpm -qa rpm rpm-python python python-libs
python-libs-2.7-8.fc14.1.i686
rpm-python-4.8.1-5.fc14.i686
python-2.7-8.fc14.1.i686
rpm-4.8.1-5.fc14.i686
python -c"import sys; print sys.path"
+ python '-cimport sys; print sys.path'
['', '/usr/lib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/FontTools', '/usr/lib/python2.7/site-packages/Numeric', '/usr/lib/python2.7/site-packages/PIL', '/usr/lib/python2.7/site-packages/gst-0.10', '/usr/lib/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info', '/usr/lib/python2.7/site-packages/webkit-1.0', '/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode']
eu-readelf -s /usr/lib*/libpython2.*.so.1.0|grep PyUnicodeUCS4_AsUTF8String
+ grep PyUnicodeUCS4_AsUTF8String
+ eu-readelf -s /usr/lib/libpython2.7.so.1.0
951: 069bffd0 78 FUNC GLOBAL DEFAULT 11 PyUnicodeUCS4_AsUTF8String
eu-readelf -s /usr/lib*/python2.*/site-packages/rpm/_rpmmodule.so| grep PyUnicodeUCS4_AsUTF8String
+ grep PyUnicodeUCS4_AsUTF8String
+ eu-readelf -s /usr/lib/python2.7/site-packages/rpm/_rpmmodule.so
261: 00000000 0 FUNC GLOBAL DEFAULT UNDEF PyUnicodeUCS4_AsUTF8String
echo $PYTHONPATH
+ echo
exit 0
+ exit 0
Ignacio, The problem seems to have gone away. What did you do? I have made NO changes to the system. George... Ignacio, By the way, user did NOT build python on this system. Regards, George... The version of Python as reported by yum is not the version provided by Fedora. It is possible that another application on the system has included its own version of Python and that it was loaded into memory when you were trying to use yum. Search the system for the presence of libpython*.so.* to attempt to verify. Ignacio, I'll do this. Thanks for your help! George... |