installation error
hi, I'm trying to install the opencv on Ubuntu 14.0.2 LTS, but I'm encountering problem as i want to compile the opencv with the : make -j4 command I've followed completely the instructions mentioned in the following link: pyimagesearch.com/2015/07/20/install-opencv-3-0-and-python-3-4-on-ubuntu/ i couldn't send any photo as a support but a copy from the error section is:
[ 79%] Built target example_structured_light_projectorcalibration
[ 80%] Built target opencv_test_structured_light
Linking CXX shared module ../../lib/cv2.so
[ 89%] Built target opencv_java
Linking CXX shared module ../../lib/python3/cv2.cpython-34m.so
/usr/bin/ld: CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o: relocation R_X86_64_PC32 against undefined symbol _Z13pyopencv_fromIN2cv4MatxIdLi4ELi4EEEEP7_objectRKT_' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [lib/cv2.so] Error 1
make[1]: *** [modules/python2/CMakeFiles/opencv_python2.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o: relocation R_X86_64_PC32 against undefined symbol
_Z13pyopencv_fromIN2cv4MatxIdLi4ELi4EEEEP7_objectRKT_' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[2]: * [lib/python3/cv2.cpython-34m.so] Error 1
make[1]: [modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2
make: ** [all] Error 2
sbu@sbu-EP31-DS3L:~/opencv/build$
I am having similar issue. Were you able to resolve issue? If so, can you please share the solution.. Thanks
Even i am facing the same issue while giving make -j4 command.Can u please share the solution if u resolved it.Thank u.