Bug#1144211: libmgl-dev: cmake config tries to link to invalid hdf5-shared library
Sylvain Joubert
joubert.sy at gmail.com
Wed Aug 12 12:43:46 BST 2026
Package: libmgl-dev
Version: 8.0.3+ds.2-2+b2
Severity: normal
X-Debbugs-Cc: joubert.sy at gmail.com
Dear Maintainer,
The mgl and mgl-static targets defined in
/usr/lib/cmake/mathgl2/MathGLTargets.cmake refer to a 'hdf5-shared' library as
a dependency.
However during my cmake project build that uses the mgl target I get the
following link error:
cannot find -lhdf5-shared: No such file or directory
And indeed I can't find any reference to a such a file anywhere.
The fact that the cmake config file references that library only by its name
"...;hdf5-shared;..." instead of a full path like all other dependencies in
that list looks suspicious to me.
In turn the actual library binary however depends on 'libhdf5_serial.so.320'
that I don't see in the list.
Thanks,
Sylvain
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (990, 'testing'), (800, 'stable-updates'), (800, 'stable'), (700, 'unstable'), (500, 'stable-security'), (90, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 7.1.7+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libmgl-dev depends on:
ii libgif-dev 6.1.3-1
ii libgl-dev 1.7.0-3+b1
ii libgsl-dev 2.8+dfsg-6+b1
ii libhdf4-dev 4.3.1-3
ii libhdf5-dev 2.1.0+repack-1
ii libhpdf-dev 2.3.0+dfsg-1.1+b1
ii libmgl-fltk8t64 8.0.3+ds.2-2+b2
ii libmgl-glut8t64 8.0.3+ds.2-2+b2
ii libmgl-mpi8t64 8.0.3+ds.2-2+b2
ii libmgl-qt6-8 8.0.3+ds.2-2+b2
ii libmgl-wnd8t64 8.0.3+ds.2-2+b2
ii libmgl-wx8t64 8.0.3+ds.2-2+b2
ii libmgl8t64 8.0.3+ds.2-2+b2
ii libpng-dev 1.6.58-1
ii mathgl 8.0.3+ds.2-2+b2
ii udav 8.0.3+ds.2-2+b2
libmgl-dev recommends no packages.
libmgl-dev suggests no packages.
-- no debconf information
More information about the debian-science-maintainers
mailing list