-
-
Notifications
You must be signed in to change notification settings - Fork 173
Building on an embedded Linux Platform #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Mesa probably tries to load
Just because you need X11 libs at build-time for mesa, doesn't mean you need them at runtime too. If you run pi@hpi4:~/devel $ ldd ./flutter-pi/out/flutter-pi
linux-vdso.so.1 (0xbef74000)
/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0xb6fa0000)
libgbm.so.1 => /usr/lib/arm-linux-gnueabihf/libgbm.so.1 (0xb6f70000)
libdrm.so.2 => /usr/lib/arm-linux-gnueabihf/libdrm.so.2 (0xb6f51000)
libGLESv2.so.2 => /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 (0xb6f32000)
libEGL.so.1 => /usr/lib/arm-linux-gnueabihf/libEGL.so.1 (0xb6f13000)
librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb6efc000)
libflutter_engine.so => /usr/lib/libflutter_engine.so (0xb584d000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb5823000)
libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb5810000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb56c2000)
libwayland-server.so.0 => /usr/lib/arm-linux-gnueabihf/libwayland-server.so.0 (0xb56a5000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb5623000)
libexpat.so.1 => /lib/arm-linux-gnueabihf/libexpat.so.1 (0xb55e2000)
/lib/ld-linux-armhf.so.3 (0xb6fb5000)
libGLdispatch.so.0 => /usr/lib/arm-linux-gnueabihf/libGLdispatch.so.0 (0xb5563000)
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb5536000)
libffi.so.6 => /usr/lib/arm-linux-gnueabihf/libffi.so.6 (0xb551e000) (ldd lists transitive dependencies too) There's no X11 libs in there. There is If you don't want to have |
Thanks for the help. |
I tried building flutter-pi on Raspbian and it worked. But when I tried to do the same on another embedded platform providing the necessary dependencies, an error stating that vc4_dri.so and kms_swrast_dri.so are not found came up. Isn't X11 a necessary dependency for building those? I tried building those SO's but get blocked since X11 libraries are not present. Mesa provides those SO's. When I checked, some libraries of X11 are also getting built in Raspberry Pi too.
The text was updated successfully, but these errors were encountered: