pyexiv2 problem in rawhide
pyexiv2 is the python extension of Exiv2 library. It helps to find the EXIF information from an image.
The current rawhide version is broken, it just can not be imported.
[kdas@d80 ~]$ python
Python 2.6 (r26:66714, Mar 17 2009, 11:44:21)
[GCC 4.4.0 20090313 (Red Hat 4.4.0-0.26)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyexiv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/site-packages/pyexiv2.py", line 60, in <module>
import libexiv2python
ImportError: /usr/lib/python2.6/site-packages/libexiv2python.so: undefined
Tried to find what that symbol is using c++filt
[kdas@d80 ~]$ c++filt _ZNK5Exiv29Exifdatum6typeIdEv Exiv2::Exifdatum::typeId() const
Now is this a very new pyexiv2 which contains symbols from latest exiv2-lib or a problem itself ? The bug is here.
Update: It seems to be a local symbol. It comes from exiv2-lib only , but it shows as local with “notype” from the eu-readelf output
2 Comments to pyexiv2 problem in rawhide
One way to check would be to see if the installed libexiv2 has the symbol (with objdump -T libexiv2.so.VERSION ), and then to check which library pyexiv2 is linked to (with ldd ). I don’t know if it’s because of a debian patch or not, but on my systems libexiv2 usually have a correct so version bump that is supposed to prevent those issues.
April 16, 2009
@cyrile: It seems to be a local symbol
April 16, 2009