Skip to content

Shared library not found: libdyscostman.so

Hello Thomas, after running the build-script and initializing, I get the following error from casacore.tables:

  File "/home/p1uy068/opt/src/LiLF/pipelines/LOFAR_self.py", line 49, in <module>
    MSs = lib_ms.AllMSs( glob.glob('mss/TC*[0-9].MS'), s )
  File "/home/p1uy068/opt/src/LiLF/lib_ms.py", line 30, in __init__
    if check_flags and ms.isAllFlagged(): 
  File "/home/p1uy068/opt/src/LiLF/lib_ms.py", line 435, in isAllFlagged
    with tables.table(self.pathMS, ack = False) as t:
  File "/localwork/henrik/opt_fat/lofar_200331/python-casacore/lib/python3.6/site-packages/python_casacore-3.1.1-py3.6-linux-x86_64.egg/casacore/tables/table.py", line 372, in __init__
    Table.__init__(self, tabname, lockopt, opt)
RuntimeError: Shared library dyscostman not found in CASACORE_LDPATH or (DY)LD_LIBRARY_PATH
libcasa_dyscostman.so.4: cannot open shared object file: No such file or directory
libcasa_dyscostman.so: cannot open shared object file: No such file or directory
libdyscostman.so.4: cannot open shared object file: No such file or directory
libdyscostman.so: cannot open shared object file: No such file or directory

This can be fixed by setting CASACORE_LDPATH manually, but it might still be a bug in the build-script.