Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Jul 1, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Affected too.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant