ilikecats567 / pyopencv

Automatically exported from code.google.com/p/pyopencv
0 stars 0 forks source link

/usr/bin/ld: cannot find -lBoost_PYTHON_LIBRARY_RELEASE-NOTFOUND #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I try to install pyopencv into a virtual env with "pip" command. With "pip 
install pyopencv" I get this error:

[...]
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
Ada/C/ObjC but not for C++

g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
build/temp.linux-i686-2.6/package/extras/core/opencv_converters.o 
build/temp.linux-i686-2.6/package/extras/core/sequence.o 
build/temp.linux-i686-2.6/package/extras/core/opencv_extra.o 
build/temp.linux-i686-2.6/package/extras/core/ndarray.o 
build/temp.linux-i686-2.6/package/extras/sdopencv/iterators.o 
build/temp.linux-i686-2.6/package/extras/sdopencv/diffchar_2d.o 
build/temp.linux-i686-2.6/package/extras/sdopencv/integral_2d.o 
build/temp.linux-i686-2.6/package/extras/sdopencv/int_hist_2d.o 
-Lbuild/lib.linux-i686-2.6/pyopencv -lcvaux -lhighgui -lml -lcv -lcxcore 
-lBoost_PYTHON_LIBRARY_RELEASE-NOTFOUND -o 
build/lib.linux-i686-2.6/pyopencv/libpyopencv_extras.so

/usr/bin/ld: cannot find -lBoost_PYTHON_LIBRARY_RELEASE-NOTFOUND

collect2: ld returned 1 exit status

error: command 'g++' failed with exit status 1

----------------------------------------
Command /home/user/workspace/Stats/env/bin/python -c "import 
setuptools;__file__='/home/user/workspace/Stats/env/build/pyopencv/setup.py';exe
cfile(__file__)" install --single-version-externally-managed --record 
/tmp/pip-bt3gLP-record/install-record.txt --install-headers 
/home/user/workspace/Stats/env/include/site/python2.6 failed with error code 1

I'm on Ubuntu 10.10. I already installed these packages:
libboost-python-dev
python2.6-dev
libboost-python1.42-dev
libboost-python1.42.0
libpython2.6

Thank you for future replies. :]

Original issue reported on code.google.com by mdeverde...@gmail.com on 2 Mar 2011 at 1:11

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Affected too.

Original comment by vladimir...@gmail.com on 9 Jan 2012 at 6:54