[MacPorts] #63293: OpenCV Symbol not found: _av_dict_parse_string
MacPorts
noreply at macports.org
Sun Jul 25 00:02:12 UTC 2021
#63293: OpenCV Symbol not found: _av_dict_parse_string
----------------------------+--------------------
Reporter: fmw42 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: OpenCV, Python | Port: OpenCV
----------------------------+--------------------
I am trying to upgrade ports on my Mac OSX Sierra. I have upgraded them
all. But now when I run my opencv @3.4.8_0+python37 (active) scripts, I am
getting the following errors and do not know how to resolve.
Symbol not found: _av_dict_parse_string
The terminal listing is as follows:
{{{
python3.7 python_fit_ellipse.py
Traceback (most recent call last):
File "python_fit_ellipse.py", line 1, in <module>
import cv2
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/cv2/__init__.py", line 89, in <module>
bootstrap()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/cv2/__init__.py", line 79, in bootstrap
import cv2
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/cv2/python-3.7/cv2.cpython-37m-darwin.so, 2): Symbol not
found: _av_dict_parse_string
Referenced from: /opt/local/lib/libopencv_videoio.3.4.dylib
Expected in: /opt/local/lib/libavcodec.58.dylib
in /opt/local/lib/libopencv_videoio.3.4.dylib
}}}
I have the following installed (I was also trying to upgrade to python39
and opencv3 - don't know if this causes conflicts):
{{{
opencv @3.4.3_1+python37
opencv @3.4.8_0+python37 (active)
opencv3 @3.4.14_0
python37 @3.7.5_1
python37 @3.7.11_0 (active)
python38 @3.8.11_0 (active)
python39 @3.9.6_0 (active)
}}}
Help would be appreciated.
--
Ticket URL: <https://trac.macports.org/ticket/63293>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list