Skip to content

deb: build-depend on libgl-dev for jammy - #67

Merged
sjoelund merged 1 commit into
masterfrom
libgl
Sep 19, 2026
Merged

sjoelund merged 1 commit into
masterfrom
libgl

Conversation

@sjoelund

Copy link
Copy Markdown
Member

qwt links Qt6::OpenGL, whose .prl names the GL library by absolute path, so the link dies before it ever looks at -lGL:

linking ../lib/libomqwt.so.6.3.0
clang: error: no such file or directory:
  '/usr/lib/x86_64-linux-gnu/libGL.so'

jammy's qt6-base-dev (6.2.4) only depends on libglx-dev and libopengl-dev; bookworm, noble, trixie and resolute all add libgl-dev, which is what ships that symlink. That is why OMSens, which links the GLVND libraries directly, got through and OMPlot did not, and why only jammy failed - on amd64 and armhf alike.

Assisted-by: Claude Opus 5

qwt links Qt6::OpenGL, whose .prl names the GL library by absolute
path, so the link dies before it ever looks at -lGL:

    linking ../lib/libomqwt.so.6.3.0
    clang: error: no such file or directory:
      '/usr/lib/x86_64-linux-gnu/libGL.so'

jammy's qt6-base-dev (6.2.4) only depends on libglx-dev and
libopengl-dev; bookworm, noble, trixie and resolute all add libgl-dev,
which is what ships that symlink. That is why OMSens, which links the
GLVND libraries directly, got through and OMPlot did not, and why only
jammy failed - on amd64 and armhf alike.

Assisted-by: Claude Opus 5
@sjoelund
sjoelund merged commit 064d46e into master Sep 19, 2026
10 checks passed
@sjoelund
sjoelund deleted the libgl branch September 19, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant