From e22f3c2c8a852d5a98433c4bf96295d7b360e4d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sj=C3=B6lund?= Date: Sat, 19 Sep 2026 13:04:38 +0200 Subject: [PATCH] deb: build-depend on libgl-dev for jammy 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 --- debian/control | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/control b/debian/control index ecce9e6..59c430d 100644 --- a/debian/control +++ b/debian/control @@ -32,6 +32,8 @@ Build-Depends: debhelper-compat (= 13), qt6-websockets-dev | libqt6websockets6-dev, # QT.quick3d.depends; qt6-quick3d-dev only pulls it in from 6.6 on qt6-shadertools-dev | libqt6shadertools6-dev, +# Qt links libGL.so by absolute path; only jammy's qt6-base-dev omits it + libgl-dev, # QtHttpServer needs Qt 6.4; OMEdit builds without the MCP server on jammy qt6-httpserver-dev | qt6-base-dev, flex,