← Back to team overview

pyexiv2-developers team mailing list archive

Re: pyexiv2 0.2 testing

 

Hi Damien,

On 2010-02-16, Damien Moore <damienlmoore@xxxxxxxxx> wrote:
Hi Olivier and co...

I had some troubles compiling on 64 Ubuntu Karmic. (I had no problems compiling on 32 bit Jaunty.) All of my libboost* files in /usr/lib have a suffix of "-mt" appended to them, so I edited src/SConscript and changed
libs = ['boost_python', 'exiv2']

to

libs = ['boost_python-mt', 'exiv2']

and then pyexiv2 compiles successfully. Hopefully there is a less hacky fix than this...
That's a known issue (although there is no bug report to track it, could 
you please file one?): the debian and ubuntu packages include a patch to 
work around it, see 
http://patch-tracker.debian.org/patch/series/view/pyexiv2/0.1.2-4/03_boost-lib-name
Note that I remember reading somewhere that this -mt prefix was dropped 
in newer versions of packages (can't find the link now), and it seems to 
be the case in ubuntu karmic: libboost-python1.38.0 has the -mt prefix, 
libboost-python1.40.0 doesn't (compare 
http://packages.ubuntu.com/karmic/amd64/libboost-python1.38.0/filelist 
to http://packages.ubuntu.com/karmic/amd64/libboost-python1.40.0/filelist).
cheers,
dm
Cheers,

Olivier



References