Ask Your Question

Revision history [back]

Complied from source - ubuntu/python - error librsvg-2.so.2: undefined symbol: cairo_tag_end

I've complied from source with the following cmake setitngs

cmake -D CMAKE_BUILD_TYPE=RELEASE -D INSTALL_PYTHON_EXAMPLES=ON -D INSTALL_C_EXAMPLES=OFF -D PYTHON_EXECUTABLE=/home/lewis/anaconda3/bin/python3 -D BUILD_opencv_python2=OFF -D CMAKE_INSTALL_PREFIX=/home/lewis/anaconda3 -D PYTHON3_EXECUTABLE=/home/lewis/anaconda3/bin/python3 -D PYTHON3_INCLUDE_DIR=/home/lewis/anaconda3/include/python3.7m -D PYTHON3_PACKAGES_PATH=/home/lewis/anaconda3/lib/python3.7/site-packages -D WITH_GSTREAMER=ON ..

When i import cv2 in python I'm getting the following error.

ImportError: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined symbol: cairo_tag_end

Anyone have any ideas what to do? Google is no help.

Complied from source - ubuntu/python - error librsvg-2.so.2: undefined symbol: cairo_tag_end

I've complied from source with the following cmake setitngs

cmake 
 -D CMAKE_BUILD_TYPE=RELEASE 
 -D INSTALL_PYTHON_EXAMPLES=ON 
 -D INSTALL_C_EXAMPLES=OFF 
 -D PYTHON_EXECUTABLE=/home/lewis/anaconda3/bin/python3
 -D BUILD_opencv_python2=OFF 
 -D CMAKE_INSTALL_PREFIX=/home/lewis/anaconda3
 -D PYTHON3_EXECUTABLE=/home/lewis/anaconda3/bin/python3
 -D PYTHON3_INCLUDE_DIR=/home/lewis/anaconda3/include/python3.7m
 -D PYTHON3_PACKAGES_PATH=/home/lewis/anaconda3/lib/python3.7/site-packages
 -D WITH_GSTREAMER=ON ..

..

When i import cv2 in python I'm getting the following error.

ImportError:
 /lib/x86_64-linux-gnu/librsvg-2.so.2:
 undefined symbol: cairo_tag_end

cairo_tag_end

Anyone have any ideas what to do? Google is no help.

Complied from source - ubuntu/python - error librsvg-2.so.2: undefined symbol: cairo_tag_end

I've complied from source with the following cmake setitngs

cmake 
-D CMAKE_BUILD_TYPE=RELEASE 
-D INSTALL_PYTHON_EXAMPLES=ON 
-D INSTALL_C_EXAMPLES=OFF 
-D PYTHON_EXECUTABLE=/home/lewis/anaconda3/bin/python3
-D BUILD_opencv_python2=OFF 
-D CMAKE_INSTALL_PREFIX=/home/lewis/anaconda3
-D PYTHON3_EXECUTABLE=/home/lewis/anaconda3/bin/python3
-D PYTHON3_INCLUDE_DIR=/home/lewis/anaconda3/include/python3.7m
-D PYTHON3_PACKAGES_PATH=/home/lewis/anaconda3/lib/python3.7/site-packages
-D WITH_GSTREAMER=ON ..

When i import cv2 cv2 in python I'm getting the following error.

ImportError:
/lib/x86_64-linux-gnu/librsvg-2.so.2:
undefined symbol: cairo_tag_end

Anyone have any ideas what to do? Google is no help.