[GSAS-II] libgfortran.so.1 missing in ubuntu 12.04 (64 bit)
Brian Toby
bhtoby at comcast.net
Thu Nov 8 12:55:50 CST 2012
Dear Khuong,
I have struggled with this one for a while today. My goal is to provide the binaries in such a fashion that only libraries that everyone would be likely to have are required, but this required a newer version of gfortran than was installed on the RHL 5 linux machine I used a year ago to compile the 64-bit linux binaries. I tried today with a new version of gfortran, on ubuntu 11.04, but that failed, as best as I can tell due to internal configuration problems with the gfortran build. If anyone out there has a 64-bit linux box with gfortran (>=4.5) and EPD installed and wants to take a shot at this, please let me know and I will tell you what needs to be changed in the scons file.
Here is the work-around (I hope): install gfortran. This will install the libgfortran.so.1 file that you need to make the error below go away. You should not need to compile the files yourself, but if you do, be warned that my attempt to do so with the scons and f2py I installed via ubuntu failed, but did succeed (partly) with the EPD dist.
Brian
On Nov 8, 2012, at 10:00 AM, Huynh Khuong wrote:
> Dear all,
>
> I installed GSAS-II from svn following the instruction from here
>
> https://subversion.xor.aps.anl.gov/trac/pyGSAS
>
> After the installation, I tried to run GSAS-II and ended up with this error:
>
> khuong at khuong-SVS13A15GGB:/opt/gsas-II$ python GSASII.py
> GSAS-II binary directory: /opt/gsas-II/binlinux64-2.7
> Traceback (most recent call last):
> File "GSASII.py", line 60, in <module>
> import GSASIIIO as G2IO
> File "/opt/gsas-II/GSASIIIO.py", line 20, in <module>
> import GSASIIgrid as G2gd
> File "/opt/gsas-II/GSASIIgrid.py", line 21, in <module>
> import GSASIImath as G2mth
> File "/opt/gsas-II/GSASIImath.py", line 25, in <module>
> import GSASIIspc as G2spc
> File "/opt/gsas-II/GSASIIspc.py", line 19, in <module>
> import pyspg
> ImportError: libgfortran.so.1: cannot open shared object file: No such file or directory
>
>
> I got libgfortran3 installed in from repository in my PC. My system is Ubuntu 12.04 64 bit.
> I do not install EPD packages. Only scipy, numpy, and matplotlib are installed.
>
> Another information: I sucessfully used GSAS-II in another PC under Ubuntu 12.04 64 bit some months ago. I don't understand why this error happen this time.
>
> Any help will be very appreciate.
>
> Best,
> Khuong Huynh
>
>
>
>
>
>
> _______________________________________________
> GSAS-II mailing list
> GSAS-II at mailman.aps.anl.gov
> http://www.aps.anl.gov/mailman/listinfo/gsas-ii
Brian Toby
204 Waxwing Ave
Naperville IL 60565-1240
bhtoby at comcast.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aps.anl.gov/pipermail/gsas-ii/attachments/20121108/ecfdee8f/attachment.html>
More information about the GSAS-II
mailing list