astroconda / astroconda

Sphinx documentation for AstroConda
26 stars 19 forks source link

Problem installing astroconda Legacy Software Stack (with IRAF) on Ubuntu 18.04 #84

Open cloud182 opened 5 years ago

cloud182 commented 5 years ago

Hello,

I used astroconda to install IRAF on ubuntu 16.04 for several years and everything went fine. I recently updated my computer to Ubuntu 18.04 and now nothing seems to work. The creation of the environment and the installation of the packages works fine, but then, if I try to launch xgterm, cl or ds9 from inside the correct environment the result is:

[...]/anaconda2/envs/astroconda/bin/xgterm: File or directory does not exist

[...]/anaconda2/envs/astroconda/bin/cl: 40: exec: [...]/anaconda2/envs/astroconda/iraf//bin.linux/ecl.e: not found

ds9: /usr/lib/x86_64-linux-gnu/libcrypto.so.10: version 'libcrypto.so.10' not found (required by ds9) ds9: /usr/lib/x86_64-linux-gnu/libssl.so.10: version 'libssl.so.10' not found (required by ds9)

Does someone have any idea of what is happening?

Thanks!

luiscarlos-astro commented 5 years ago

Try this for your problems with the terminal/iraf/cl in ubuntu 18.04 :

https://github.com/astroconda/astroconda/issues/31#issuecomment-257404123

I had the same problem and it solved for me

Still trying to solve the ds9 problem myself

tepickering commented 5 years ago

i ran into this and it looks like when ds9 was built, it improperly linked against system openssl libraries rather than the ones provided by the conda environment. i couldn't get ds9 from astroconda working on any ubuntu/debian host, including 16.04. i finally got it working by specifying centos 7 in my dockerfile. fedora works as well if compat-openssl10 is installed.

the xgterm and ecl.e errors are due to missing i386 libraries. you'll need to run dpkg --add-architecture i386 and then apt update to enable i386 support. then i think apt install libc6:i386 should be sufficient to fix xgterm et al.