[pkg-boost-devel] Bug#476965: Bug#476965: libboost-python1.34.1: use python 2.5 version of libboost_python-gcc42-1_34_1.so.1.34.1

Steve M. Robbins steve at sumost.ca
Fri Apr 25 17:38:04 UTC 2008


reassign 476965 python-pyexiv2 
thanks

On Sun, Apr 20, 2008 at 03:00:51PM +0200, Filippo Giunchedi wrote:

> now that python 2.5 is the default
> libboost_python-gcc42-1_34_1.so.1.34.1 should point to the 2.5 version
> otherwise it is unusuable. E.g.

No: that is the shared library built with Python 2.4.  There is a
parallel shared library built with Python 2.5:
libboost_python-gcc42-1_34_1-py25.so.1.34.1

What needs to happen is that python-pyexiv2 needs to be rebuilt.


> $ python
> Python 2.5.2 (r252:60911, Apr 16 2008, 23:58:07) 
> [GCC 4.2.3 (Debian 4.2.3-3)] 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.5/site-packages/pyexiv2.py", line 59, in <module>
>     import libpyexiv2
> ImportError: /usr/lib/libboost_python-gcc42-1_34_1.so.1.34.1: undefined symbol: Py_InitModule4

Oddly, I get a different behaviour:

steve at riemann{~}python
Python 2.5.2 (r252:60911, Apr 17 2008, 13:15:05) 
[GCC 4.2.3 (Debian 4.2.3-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyexiv2
/usr/lib/python2.5/site-packages/pyexiv2.py:59: RuntimeWarning: Python C API version mismatch for module libpyexiv2: This Python has API version 1013, module libpyexiv2 has version 1012.
  import libpyexiv2
>>> 

Chimo,
-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20080425/b29f957b/attachment.pgp 


More information about the pkg-boost-devel mailing list