Trying to run Science Analysis Software by European Space Agency on my Arch device, need help...
I am running Science Analysis Software by European Space Agency for XMM-Newton data. The pre-built compiled libraries of SAS(no option for building from source) for Ubuntu 20.04 are working perfectly fine with my Arch System.
I have used the AUR package heasoft to install Heasoft (from source).
The xspec, a part of tool that comes with Heasoft, runs perfectly fine after initialization of Heasoft.
Initialization of SAS requires initialization of HEASOFT. That also works out quite well.
But when I initializae Heasoft followed by SAS and then run the xspec. I am given error messages as::
Workaroud: I just copied the libstdc++.so.6 and libgfortran.so.5 from /lib to /home/esinkei/astro/sas_20.0.0-Ubuntu20.04/xmmsas_20211130_0941/libextra/, now the xspec runs without any error message. I am not so clear about what's really happening.
Edited 29 Nov 2022. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 5 · 100% up
- Kind
- Text
- ID
- z7o7uo
8 comments
I am no expert, but I understand that the dependencies required by your program is not available in your Arch installation. Either install them manually or use a virtual machine with supported Ubuntu version to run your program.
The program itself comes with a bunch of ./lib/ and ./libextra/ directories containing, i presume, library files. Creating symlinks or actually replacing conflicted files between ./libextra/ and my system's /lib has solved the problem for now. If everything breaks at last, I will have to use a docker image or a VM. I actually switched to Ubuntu for running this program few weeks back and I really hated it. That's why back on Arch like a mad man trying to run a program with binaries pre-compiled for Ubuntu based OS. LOL
According to some googling you need gcc installed for GLIBCXX_3.4.29, you also need to libgfortran.so for GFORTRAN_10
but have yet to find out what package gives thatwhich is fromgcc-fortranWorkaroud: I just copied the libstdc++.so.6 and libgfortran.so.5 from /lib to /home/esinkei/astro/sas_20.0.0-Ubuntu20.04/xmmsas_20211130_0941/libextra/, now the xspec runs without any error message. I am not so clear about what's really happening.
I have both
gccandgcc-fortraninstalled on my system.I can very much recommend this for cases like yours: https://github.com/89luca89/distrobox it's not as good as a native package, but still a lot better than messing with VMs or messing about with libraries from obscure sources
I have had a pretty bad experience using docker(running GUI apps) and VMs on my machine. This looks fascinating. I will give it a shot.
Deleted before we saved it.