gstreamer - prelink-rtld:找不到命令
问题描述
尝试使用 yocto 构建我的项目时,出现 Prelink-rtld: command not found 错误。 完全错误:
work/aarch64-oe-linux/gstreamer1.0/1.12.2-r0/recipe-sysroot/usr/bin/g-ir-scanner-lddwrapper: line 2: prelink-rtld: command not found
| ==6485==LeakSanitizer has encountered a fatal error.
| If the above error message is about missing .so libraries, then setting up GIR_EXTRA_LIBS_PATH in the recipe should help.
| (typically like this: GIR_EXTRA_LIBS_PATH="${B}/something/.libs" )
尝试添加 DEPENDS += "prelink"
但这并没有解决问题。
在启用 gcc-sanitizer 后开始出现此错误。IE
+DEPENDS += "gcc-sanitizers"
+CFLAGS += "-fsanitize=address"
+CPPFLAGS += "-fsanitize=address"
+LDFLAGS += "-fsanitize=address"
在 gstreamer1.0_1.12.2.bbappend 文件中。
解决方案
您可能需要本机预链接版本,因为它是在构建时执行的。尝试使用
DEPENDS += "prelink-native"
推荐阅读
- javascript - 如何在 JavaScript TypedArray 中存储和检索二进制矩阵?
- php - 带有小括号的精确单词的正则表达式在 PHP 中不起作用
- c++ - g ++没有链接wayland方法
- kotlin-exposed - 如何使用 Kotlin SQL Exposed 添加新列
- python - 总结熊猫中不同行值之间的绝对差异
- react-native - 使用 react-native 的动画 API 左对齐缩放的视图/文本
- r - 如何使用训练和测试数据集使用 knn 分类(类包)
- python - 从列表中没有的内容构建新字典
- flutter - Flutter斜体化字符串中的文本
- visual-studio-code - VS CODE / MSBUILD:错误 MSB1003:指定项目或解决方案文件。当前工作目录不包含项目或解决方案文件