liu lin
2012-Apr-25 06:13 UTC
"undefined symbol: Py_InitModule4" xen4.1 installation on OpenSuse 12
DA, I''am struggling to install xen-4.1.2_05-1.1.1.x86_64.rpm on OpenSuse 12. After overcoming quite a few problems, now the box is running xenlinux kernel. When I verify the installation by running "xend status", I get the following outputs: # xend status Traceback (most recent call last): File "/usr/sbin/xend", line 33, in <module> from xen.xend.server import SrvDaemon File "/usr/lib64/python/xen/xend/server/SrvDaemon.py", line 17, in <module> import xen.lowlevel.xc ImportError: /usr/lib64/python/xen/lowlevel/xc.so: undefined symbol: Py_InitModule4 PS: python version is 2.7. I tried solving it by seeking for relative info on google.com in vain. Is there anyone that has worked through this problem? How should I solve it? Thanks a lot! -Lin _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Ian Campbell
2012-Apr-25 07:57 UTC
Re: "undefined symbol: Py_InitModule4" xen4.1 installation on OpenSuse 12
On Wed, 2012-04-25 at 07:13 +0100, liu lin wrote:> DA, > > I''am struggling to install xen-4.1.2_05-1.1.1.x86_64.rpm on OpenSuse > 12. After overcoming quite a few problems, now the box is running > xenlinux kernel. When I verify the installation by running "xend > status", I get the following outputs: > > # xend status > Traceback (most recent call last): > File "/usr/sbin/xend", line 33, in <module> > from xen.xend.server import SrvDaemon > File "/usr/lib64/python/xen/xend/server/SrvDaemon.py", line 17, in > <module> > import xen.lowlevel.xc > ImportError: /usr/lib64/python/xen/lowlevel/xc.so: undefined symbol: > Py_InitModule4 > > PS: python version is 2.7.If you are getting this error with the official opensuse 12 packages then this would indicate some sort of packaging error -- you should report it to opensuse. Ian.