Firefly开源社区

打印 上一主题 下一主题

firefly3288 apt-get install libgtk-3-dev 会覆盖原生的库怎么处理

24

积分

0

威望

0

贡献

技术小白

积分
24

firefly3288 apt-get install libgtk-3-dev 会覆盖原生的库怎么处理

发表于 2021-4-21 16:44:29      浏览:6900 | 回复:2        打印      只看该作者   [复制链接] 楼主
root@firefly:/home/firefly/gtk-spice/spice-gtk-0.35# apt-get install libgtk-3-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libegl1 : Depends: libglvnd0 (= 1.0.0-2ubuntu2.2) but 1.0.0-2ubuntu2.3 is to be installed
libgles2 : Depends: libglvnd0 (= 1.0.0-2ubuntu2.2) but 1.0.0-2ubuntu2.3 is to be installed
libgtk-3-dev : Depends: gir1.2-gtk-3.0 (= 3.22.30-1ubuntu4) but 3.22.30-1ubuntu1 is to be installed
                Depends: libgdk-pixbuf2.0-dev (>= 2.30.0) but it is not going to be installed
                Depends: libpango1.0-dev (>= 1.40.5) but it is not going to be installed
                Depends: libatk1.0-dev (>= 2.15.1) but it is not going to be installed
                Depends: libatk-bridge2.0-dev but it is not going to be installed
                Depends: libcairo2-dev (>= 1.14.0) but it is not going to be installed
                Depends: libfontconfig1-dev but it is not going to be installed
                Depends: libx11-dev but it is not going to be installed
                Depends: libxext-dev but it is not going to be installed
                Depends: libxinerama-dev but it is not going to be installed
                Depends: libxi-dev but it is not going to be installed
                Depends: libxrandr-dev but it is not going to be installed
                Depends: libxcursor-dev but it is not going to be installed
                Depends: libxfixes-dev but it is not going to be installed
                Depends: libxcomposite-dev but it is not going to be installed
                Depends: libxdamage-dev but it is not going to be installed
                Depends: libwayland-dev (>= 1.9.91) but it is not going to be installed
                Depends: wayland-protocols (>= 1.9) but it is not going to be installed
                Depends: libxkbcommon-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@firefly:/home/firefly/gtk-spice/spice-gtk-0.35#
root@firefly:/home/firefly/gtk-spice/spice-gtk-0.35#
root@firefly:/home/firefly/gtk-spice/spice-gtk-0.35# apt --fix-broken install
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libegl1 libgles2
The following packages will be upgraded:
  libegl1 libgles2
2 upgraded, 0 newly installed, 0 to remove and 443 not upgraded.
88 not fully installed or removed.
Need to get 0 B/44.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 102120 files and directories currently installed.)
Preparing to unpack .../libgles2_1.0.0-2ubuntu2.3_armhf.deb ...
Unpacking libgles2:armhf (1.0.0-2ubuntu2.3) over (1.0.0-2ubuntu2.2) ...
dpkg: error processing archive /var/cache/apt/archives/libgles2_1.0.0-2ubuntu2.3_armhf.deb (--unpack):
trying to overwrite '/usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0', which is also in package libmali-rk-midgard-t76x-r14p0-r1p0:armhf 1.6-1
Preparing to unpack .../libegl1_1.0.0-2ubuntu2.3_armhf.deb ...
Unpacking libegl1:armhf (1.0.0-2ubuntu2.3) over (1.0.0-2ubuntu2.2) ...
dpkg: error processing archive /var/cache/apt/archives/libegl1_1.0.0-2ubuntu2.3_armhf.deb (--unpack):
trying to overwrite '/usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0', which is also in package libmali-rk-midgard-t76x-r14p0-r1p0:armhf 1.6-1
Errors were encountered while processing:
/var/cache/apt/archives/libgles2_1.0.0-2ubuntu2.3_armhf.deb
/var/cache/apt/archives/libegl1_1.0.0-2ubuntu2.3_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@firefly:/home/firefly/gtk-spice/spice-gtk-0.35#


报错,如果强制覆盖的话,可以解决编译问题但是 系统中原生的 gtk、egl等库就被覆盖了
如果覆盖之后,egl就用不了GPU渲染而是采用的CPU,请问如何解决这个问题,谢谢。
回复

使用道具 举报

24

积分

0

威望

0

贡献

技术小白

积分
24
发表于 2021-4-21 16:48:20        只看该作者  沙发
镜像用的是 FIREFLY-RK3288-UBUNTU18.04-VGA-GPT-20200116-1701.img
回复

使用道具 举报

24

积分

0

威望

0

贡献

技术小白

积分
24
发表于 2021-4-26 09:46:20        只看该作者  板凳
此问题需要 firefly 做好更深入的适配,
1.一般使用的是xx.so  而 xxx.so.1根本调不到。
2.其它更高的img都是不支持vga的 所以希望 firefly方面可以,将问题整合,出一版更接地气的img
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表