Bug 829531
Summary: | [abrt] system-config-printer-1.3.8-4.fc16: expat.py:4:<module>:ImportError: /usr/lib64/python2.7/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: XML_SetHashSalt | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mladen Gogala <mgogala> | ||||
Component: | expat | Assignee: | Joe Orton <jorton> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 16 | CC: | jorton, jpopelka, twaugh | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | abrt_hash:c497551e1b46b5dce92e42a83c295db1e3a37eda | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-06-08 13:08:11 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Mladen Gogala
2012-06-07 01:42:26 UTC
Created attachment 590036 [details]
File: backtrace
What is the output of the following command ? rpm -q python-libs expat [mgogala@medo ~]$ rpm -q python-libs expat python-libs-2.7.3-3.fc16.x86_64 expat-2.1.0-1.fc16.x86_64 expat-2.1.0-1.fc16.i686 [mgogala@medo ~]$ Please post the output of: $ ldd /usr/lib64/python2.7/site-packages/_xmlplus/parsers/pyexpat.so [mgogala@medo ~]$ ldd /usr/lib64/python2.7/site-packages/_xmlplus/parsers/pyexpat.so linux-vdso.so.1 => (0x00007fff9f5ff000) libexpat.so.1 => /oracle/product/11.2.0/11.2.0.3/lib/libexpat.so.1 (0x00007f5ea76c9000) libpython2.7.so.1.0 => /usr/lib64/libpython2.7.so.1.0 (0x00007f5ea72e3000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5ea70c7000) libc.so.6 => /lib64/libc.so.6 (0x00007f5ea6d0f000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f5ea6b0a000) libutil.so.1 => /lib64/libutil.so.1 (0x00007f5ea6907000) libm.so.6 => /lib64/libm.so.6 (0x00007f5ea6683000) /lib64/ld-linux-x86-64.so.2 (0x0000003161c00000) [mgogala@medo ~]$ I believe I can see the problem now. When I do it as "root", there are no problems: [mgogala@medo ~]$ su - root Password: [root@medo ~]# ldd /usr/lib64/python2.7/site-packages/_xmlplus/parsers/pyexpat.s ldd: /usr/lib64/python2.7/site-packages/_xmlplus/parsers/pyexpat.s: No such file or directory [root@medo ~]# ldd /usr/lib64/python2.7/site-packages/_xmlplus/parsers/pyexpat.so linux-vdso.so.1 => (0x00007fff33bff000) libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f2c1b974000) libpython2.7.so.1.0 => /usr/lib64/libpython2.7.so.1.0 (0x00007f2c1b5b6000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2c1b399000) libc.so.6 => /lib64/libc.so.6 (0x00007f2c1afe1000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f2c1addd000) libutil.so.1 => /lib64/libutil.so.1 (0x00007f2c1abd9000) libm.so.6 => /lib64/libm.so.6 (0x00007f2c1a955000) /lib64/ld-linux-x86-64.so.2 (0x0000003161c00000) [root@medo ~]# system-config-printer [root@medo ~]# Shouldn't a sistem directory like /lib64 take precedence over the LD_LIBRARY_PATH? I am using Oracle on Fedora and, being a professional Oracle DBA, I cannot refrain from doing so. Shouldn't the configuration tools have their own LD_LIBRARY_PATH configured? LD_LIBRARY_PATH always takes precedence. You could do export LD_LIBRARY_PATH=/lib64:/usr/lib64:/oracle/stuff but then all bets are off as to whether Oracle requires its own patched libexpat (or other libraries). See also bug 821337 comment 12. *** This bug has been marked as a duplicate of bug 821337 *** My workaround was to install the instant client and point my ORACLE_HOME there. Instant client doesn't contain the expat library, so all is well for now. |