Skip to content

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::

https://pastebin.com/LV5Ztzhd

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.

5 points7 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
5 · 100% up
Kind
Text
ID
z7o7uo

Author

22
posts
42
comments
3
media
View profile

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.

4 points

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

2 points

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 that which is from gcc-fortran

2 points

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.

3 points

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

2 points

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.

1 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.