-
Notifications
You must be signed in to change notification settings - Fork 14
Description
OS: Ubuntu wheezy/sid
Linux 3.2.0-54-generic #82-Ubuntu SMP Tue Sep 10 20:08:42 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
In [1]: import lvm2py
AttributeError Traceback (most recent call last)
/usr/local/lib/python2.7/ in ()
----> 1 import lvm2py
/usr/local/lib/python2.7/dist-packages/lvm2py/init.py in ()
14 #along with lvm2py. If not, see http://www.gnu.org/licenses/.
15
---> 16 from .lvm import LVM
17 from .vg import VolumeGroup
18 from .pv import PhysicalVolume
/usr/local/lib/python2.7/dist-packages/lvm2py/lvm.py in ()
15
16 from ctypes import cast, c_ulonglong, c_ulong
---> 17 from conversion import *
18 from exception import *
19 from util import *
/usr/local/lib/python2.7/dist-packages/lvm2py/conversion.py in ()
144 lvm_vg_get_pv_count.argtypes = [vg_t]
145 lvm_vg_get_pv_count.restype = c_ulonglong
--> 146 lvm_vg_get_max_pv = lvmlib.lvm_vg_get_max_pv
147 lvm_vg_get_max_pv.argtypes = [vg_t]
148 lvm_vg_get_max_pv.restype = c_ulonglong
/usr/lib/python2.7/ctypes/init.pyc in getattr(self, name)
376 if name.startswith('') and name.endswith(''):
377 raise AttributeError(name)
--> 378 func = self.getitem(name)
379 setattr(self, name, func)
380 return func
/usr/lib/python2.7/ctypes/init.pyc in getitem(self, name_or_ordinal)
381
382 def getitem(self, name_or_ordinal):
--> 383 func = self._FuncPtr((name_or_ordinal, self))
384 if not isinstance(name_or_ordinal, (int, long)):
385 func.name = name_or_ordinal
AttributeError: /lib/liblvm2app.so.2.2: undefined symbol: lvm_vg_get_max_pv