← Back to team overview

pyexiv2-developers team mailing list archive

Build Problem on Ubuntu 9.10



I would like to use pyexiv2 in a photo album program that I am writing but I had trouble building 0.2.0 on Ubuntu 9.10 with Python 2.6.4.

The build hangs on the command:

g++ -o build/libexiv2python.so -shared build/exiv2wrapper.os build/exiv2wrapper_python.os -lboost_python -lexiv2

with the message that it is unable to locate libboost_python. I have boost 1.38 installed on my machine and was able to locate in /usr/lib libboost_python-mt-py26.a and libboost_python-mt-py26.so, so what I did was to make a symbolic link between /usr/lib/libboost_python-mt-py26.a and /usr/local/lib/libboost_python.a. This allowed me to complete the build of pythonexiv2. The tests then ran successfully.

My question is "What should I have done?".

Thanks, in Advance,

Don Rozenberg

Follow ups