EPANET-MSX cannot be loaded on Linux
andreArtelt opened this issue · 3 comments
When I try to load a .msx file on Linux, I run into several issues:
Hi @andreArtelt,
Please execute the following command (in folder glnx):
sudo cp libepanet2.so /lib/x86_64-linux-gnu/libepanet.so
Version: epyt==1.0.9b4
The test files look fine here: https://github.com/OpenWaterAnalytics/EPyT/actions/runs/8712186456
Still not working on my machine :/
Now, I get an error that GLIBC is not found:
./epanetmsx.so: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.34' not found (required by ./epanetmsx.so)
I think, it would be better to ship the source code and compile it on the machine instead of shipping pre-compiled binaries. This way, one could better deal with different machine configurations and versions.
Furthermore, running a command as sudo
should not be required since some users might not have sudo
permission on their machine.
Seems to be solved with the latest version.