Dear Thompson, 
  
Do not search for "libgfortran.so.1" as there can be more recent versions of 
the same library. Just use software installer in ubuntu 
to find a version of "libgfortran" and install it. 
Regards, 
  
Mehmet 
  
----- Orijinal Mesaj -----

Kimden: "Glenn Thompson" <[email protected]> 
Kime: [email protected] 
Gönderilenler: 13 Ekim Pazar 2013 23:12:58 
Konu: [seisan] Compiling Seisan on Ubuntu and Red Hat Linux 

After some searching and experimenting I managed to get a fresh download of 
Seisan 10 to install on a fresh Ubuntu 13.04 system and a fresh Red Hat 6.4 
system as follows. It wasn't obvious to me, so I thought maybe it would be 
useful to share: 

1. Install to ~/seismo 
2. vi ~/seismo/COM/SEISAN.bash (change paths from /home/seismo to ~/seismo) 
3. vi .bashrc (add . ~/seismo/COM/SEISAN.bash) 
4.    . .bashrc (source your bash environment) 

Two problems: 

(A) Programs (e.g. mulplt, eev) won't run, because libgfortran.so.1 not found. 
I gave up on finding libgfortran.so.1 after lots of searching and decided to 
recompile instead, but: 

(B) make all doesn't work because don't have x11 libs, and tdmt_invc_seisan 
won't compile, so: 

6. sudo apt-get install gcc gfortran libx11-dev libx11-xcb-dev 
7. pr 
8. make clean 
9. vi Makefile (comment out line that makes tdmt_invc_seisan.c) 
10. make all 

The same approach worked on Red Hat Enterprise Linux 6.4 except instead of the 
sudo apt-get line above, I did: 

6. sudo yum install gcc gfortran libX11 libX11-devel 

It took me a while to find the appropriate packages to install on Ubuntu and 
Red Hat. Hopefully these should work on all Debian-based and Fedora-based 
systems respectively. 

Cheers, 

Glenn 

_______________________________________________ 
seisan mailing list 
[email protected] 
http://mailman.uib.no/listinfo/seisan 

_______________________________________________
seisan mailing list
[email protected]
http://mailman.uib.no/listinfo/seisan

Reply via email to