Open CHN-beta opened 1 month ago
Thanks for reporting, I have reproduced the issue. Possibly due to a version mismatch.
Tried to use swt from nixpkgs, but HDFView requires its own swt version. Tried to fix, but to no avail.
This issue has been bothering me too. As suggested by this old upstream help thread, I tried to cp ${swt}/jars/swt.jar
to replace the vendored swt.jar
used by hdfview.src
, but it failed to build due to missing symbols. I suspect this is because our swt
is very outdated (See https://github.com/NixOS/nixpkgs/issues/219771 )
Because this issue is open for a long time, and I don't see a solution in the near future, I opened https://github.com/NixOS/nixpkgs/pull/346931 to raise the awareness of this issue.
Another thing I tried which didn't work was to run HDFView
with CLASSPATH
and LD_LIBRARY_PATH
pointing to Nixpkgs' swt.jar
and other swt
shared objects, like how tuxguitar
, which is the only package I could find that actually relies on our swt and is actually functional with it. All swt related improvements that help debugging this are available in:
Describe the bug
hdfview could not start on last nixos-unstable
Steps To Reproduce
open hdfview with command
HDFView
, it will crash with following output:Notify maintainers
@jiegec
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.