[NTLUG:Discuss] 64bit vs 32bit library Clashing in Python
David Simmons
dave at dgnal.net
Sat Apr 14 15:46:42 CDT 2007
Guys,
I'm not entirely sure what the problem might be...but
since I'm running a 64-bit OS (on CentOS5) and trying to run Zenoss (and
it's associated programs - which I believe are not) - I'm running into the
following error when trying to start:
.....
Daemon:
zencommand starting...
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenRRD/zencommand.py", line 23, in
?
import Globals
File
"/opt/zenoss/lib/python/Globals.py", line 23, in ?
import Acquisition, ComputedAttribute,
App.PersistentExtra, os
File
"/opt/zenoss/lib/python/Acquisition/__init__.py", line 1, in
?
from _Acquisition import *
ImportError:
/opt/zenoss/lib/python/Acquisition/_Acquisition.so: wrong ELF class:
ELFCLASS32
......
There are many more errors - but they
seem to follow the same pattern above. Then I tried:
[root at www4 zenoss-deps]# rpm -qa | grep python
python-2.4.3-19.el5
python-urlgrabber-3.1.0-2
gnome-python2-canvas-2.16.0-1.fc6
python-devel-2.4.3-19.el5
dbus-python-0.70-7.el5
rpm-python-4.4.2-37.el5
python-sqlite-1.1.7-1.2.1
libselinux-python-1.33.4-2.el5
python-devel-2.4.3-19.el5
python-numeric-23.7-2.2.2
MySQL-python-1.2.1-1
gnome-python2-2.16.0-1.fc6
gnome-python2-gnomevfs-2.16.0-1.fc6
libxml2-python-2.6.26-2.1.2
python-elementtree-1.2.6-5
audit-libs-python-1.3.1-1.el5
libxslt-python-1.1.17-2
mod_python-3.2.8-3.1
gnome-python2-bonobo-2.16.0-1.fc6
But that doesn't seem to
tell me if they're 32 bit and/or 64 bit.
So my question is two
fold:
1) How can I hunt down where the mismatch is?
(which program/library is the culprit)
2) Can I setup both
32-bit AND 64-bit versions of whatever (1) is? Any RTFM links?
3) Will I have to grab the 32 bit (i386 source rpm's and
rpmrebuild?)
Thanks for any ideas - Dave
More information about the Discuss
mailing list