Skip to content
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

[BUG]: --cli requires OpenGL libs to be installed #1010

Open
1 task
graham2071 opened this issue Feb 22, 2025 · 1 comment
Open
1 task

[BUG]: --cli requires OpenGL libs to be installed #1010

graham2071 opened this issue Feb 22, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@graham2071
Copy link

graham2071 commented Feb 22, 2025

What happened?

Running rpi-imager with --cli on Raspberry Pi OS Lite (with no desktop) fails because of missing OpenGL libraries.

$ sudo rpi-imager --cli --first-run-script ./firstrun.sh 2024-11-19-raspios-bookworm-arm64-lite.img.xz /dev/nvme0n1
/tmp/.mount_rpi-imjBVGEC/AppRun.wrapped: error while loading shared libraries: libGLX.so.0: cannot open shared object file: No such file or directory

I would expect the cli mode to work without those libs.

Workaround

I've installed additional packages one by one until it works:

sudo apt install libglx0
sudo apt install libopengl0
sudo apt install libegl1
sudo apt install libgl1-mesa-glx

Maybe only the last is needed due to dependencies.

Version

1.9.1

What host operating system were you using?

Linux

Host OS Version

Raspberry Pi OS Lite (64 bits)

Selected OS

Raspberry Pi OS Lite (64 bits)

Which Raspberry Pi Device are you using?

Raspberry Pi 5

What kind of storage device are you using?

SSD NVMe

OS Customisation

  • Yes, I was using OS Customisation when the bug occurred.

Relevant log output

@graham2071 graham2071 added the bug Something isn't working label Feb 22, 2025
@lurch
Copy link
Contributor

lurch commented Feb 24, 2025

See more information in #961

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants