ImportError: /usr/lib64/python3.6/site-packages/libdnf/_conf.so: undefined symbol: _ZN6libdnf10ConfigRepo15getMasterConfigEv
时间: 2023-08-09 17:09:10 浏览: 218
这个错误是由于缺少依赖库或者库版本不匹配导致的。根据引用\[1\]中提供的信息,这个错误可能是由于缺少Qt_5版本的libQt5Core.so库引起的。你可以尝试按照引用\[2\]中的步骤安装python-devel和配置pycurl.so来解决这个问题。另外,你也可以尝试运行sudo /sbin/ldconfig命令来更新动态依赖库的位置,如引用\[3\]所示。这些步骤可能会帮助你解决ImportError错误。
#### 引用[.reference_title]
- *1* *3* [树莓派上运行Qt5程序,报错[ImportError: /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-37m-arm-...](https://blog.csdn.net/mmmm0584/article/details/119382032)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [【Linux】/usr/lib64/python2.7/site-packages/pycurl.so: undefined symbol: XXX解决方案](https://blog.csdn.net/u012163234/article/details/67633306)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文