-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
Does Metview hard-code the location of this library somewhere?
My "import metview" fails with this error because the libMvMacro.so isn't in this location. The only fix I've found is to manually create that path and softlink the files from libmetview-dev here. Overriding LD_LIBRARY_PATH doesn't take, as presumably something in the library is discarding that.
What are the steps to reproduce the bug?
apt install metview libmetview-dev
pip install metview
python -c "import metview"
Version
5.21.2
Platform (OS and architecture)
Ubuntu 24.04
Relevant log output
OSError: cannot load library '/usr/share/metview/lib/x86_64-linux-gnu/libMvMacro.so': /usr/share/metview/lib/x86_64-linux-gnu/libMvMacro.so: cannot open shared object file: No such file or directory. Additionally, ctypes.util.find_library() did not manage to locate a library called '/usr/share/metview/lib/x86_64-linux-gnu/libMvMacro.so'Accompanying data
No response
Organisation
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working