Toybrick

标题: rk3399 libm.so.6: version `GLIBC_2.27' not found (required by ./label_image) [打印本页]

作者: wschong    时间: 2019-8-16 11:06
标题: rk3399 libm.so.6: version `GLIBC_2.27' not found (required by ./label_image)
本帖最后由 wschong 于 2019-8-16 14:39 编辑

你好!

build TF1.9 (apply 0001-patch1...) 后在rk3399上执行./label_image,
报错 ”libm.so.6: version `GLIBC_2.27' not found (required by ./label_image)“

请问rk3399上如何安装 libm.so.6: version `GLIBC_2.27' 或用 libm.so.6: version `GLIBC_2.18'/'GLIBC_2.17' ?
还有其他解决方案吗?谢谢!

详细
Linux firefly 4.4.52

复制代码
./label_image: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by ./label_image)
root@firefly:# strings /lib/aarch64-linux-gnu/libm.so.6 | grep GLIBC
GLIBC_2.17
GLIBC_2.18
GLIBC_2.23
GLIBC_PRIVATE


参考
https://github.com/tensorflow/tensorflow/issues/22828#issuecomment-521864316





作者: troy    时间: 2019-8-16 14:58
glibc是系统库,不能单独升级的,只会随系统更新而更新,当前Fedora的glibc应该还没升级到2.27这么高的版本。你需要在板子上编译TF1.9这么高的TensorFlow版本吗?
作者: wschong    时间: 2019-8-16 21:30
本帖最后由 wschong 于 2019-8-16 21:41 编辑

Hi @troy,

谢谢你的解答。:)

>glibc应该还没升级到2.27这么高的版本
我的3399使用ubuntu16.04, 如你所述,没升级到2.27。
  glibc was updated to the 2.23 release 《-  https://wiki.ubuntu.com/XenialXerus/ReleaseNotes

>glibc是系统库,不能单独升级的,只会随系统更新而更新,
请问如果用以下方法*升级glibc,对rk3399 TF以外的功能会有副作用吗?
Add deb http://http.debian.net/debian/ testing main contrib non-free to /etc/apt/sources.list
sudo apt-get update
sudo apt-get install lib6c # This will install glibc 2.28
*https://github.com/electron/elec ... uecomment-493550467

>你需要在板子上编译TF1.9这么高的TensorFlow版本吗?
其实最后我需要tf1.31的tflite功能。
谢谢@troy!

作者: jefferyzhang    时间: 2019-8-17 09:54
Linux firefly 4.4.52 ??
这个你应该去firefly那边问而不是这里把。。。
作者: wschong    时间: 2019-8-17 10:30
Hi @jefferyzhang, @troy

谢谢!我会先去另一边询问。:)





欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3