Hi,<br>I installed gfortran 4.1 and now it works. <br>Thanks<br>Siji<br><br><br><div class="gmail_quote">On Feb 12, 2008 12:52 AM, Mary Haley <<a href="mailto:haley@ucar.edu">haley@ucar.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi Siji,<br><br>I tried to build NCL statically with the gfortran V4.1.1 library, but<br>it protested. I don't have access to gfortran V4.2.1 as we still seem<br>to be using gfortran V4.1.1 and even V4.1.0 in some places.<br>
<br>I know with other shared libraries that have been missing, people<br>put in a link, like:<br><br> ln -s /usr/local/lib/libgfortran.so.2 /usr/local/lib/libgfortran.so.1<br><br>But I would only do something like this as a last resort. I googled<br>
this issue, but didn't see anything useful.<br><br>The other option is to install gfortran V4.1.1 somewhere else, so you<br>can access the libgfortran.so.1 file, or you can try building NCL from<br>source code.<br><br>
Has anybody else run into this problem and come up with a work-around?<br><div class="Ih2E3d"><br>--Mary<br><br>On Sun, 10 Feb 2008, Sijikumar S wrote:<br><br></div><div><div></div><div class="Wj3C7c">> Hi Mary,<br>> It is<br>
> GNU Fortran (GCC) 4.2.1 (Ubuntu 4.2.1-5ubuntu4)<br>><br>> Thank you<br>> Siji<br>><br>> On Feb 10, 2008 6:51 PM, Mary Haley <<a href="mailto:haley@ucar.edu">haley@ucar.edu</a>> wrote:<br>><br>
>> Siji,<br>>><br>>> What version of gfortran do you have (gfortran --version)? I'll check<br>>> it against what we built NCL with.<br>>><br>>> --Mary<br>>><br>>> On Feb 9, 2008, at 5:41 AM, Sijikumar S wrote:<br>
>><br>>>> Hi Marry,<br>>>> I have a problem after installing NCL 5<br>>>> (ncl_ncarg-5.0.0.Linux_x86_64_gcc4.tar.gz) in my pc.<br>>>><br>>>> The error is<br>>>> ncl: error while loading shared libraries: libgfortran.so.1: cannot<br>
>>> open shared object file: No such file or directory<br>>>><br>>>> Details follows<br>>>><br>>>> ldd $NCARG_ROOT/bin/ncl<br>>>> libX11.so.6 => /usr/lib/libX11.so.6 (0x00002afdbd0db000)<br>
>>> libXext.so.6 => /usr/lib/libXext.so.6 (0x00002afdbd3ec000)<br>>>> libgfortran.so.1 => not found<br>>>> libm.so.6 => /lib/libm.so.6 (0x00002afdbd5fd000)<br>>>> libdl.so.2 => /lib/libdl.so.2 (0x00002afdbd87f000)<br>
>>> libc.so.6 => /lib/libc.so.6 (0x00002afdbda83000)<br>>>> libXau.so.6 => /usr/lib/libXau.so.6 (0x00002afdbddde000)<br>>>> libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002afdbdfe1000)<br>
>>> /lib64/ld-linux-x86-64.so.2 (0x00002afdbcebd000)<br>>>><br>>>> It means libgfortran.so.1 is not in my system, but I found<br>>>> libgfortran.so.2 in /usr/lib. Need to get libgfortran.so.1 ?<br>
>>> My system details are<br>>>> uname -a<br>>>> Linux krish 2.6.22-14-generic #1 SMP Thu Jan 31 23:33:13 UTC 2008<br>>>> x86_64 GNU/Linux<br>>>> gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)<br>
>>><br>>>> Thanks in advance,<br>>>> Siji<br>>>><br>>>><br>>>><br>>>><br>>><br>>><br>><br></div></div></blockquote></div><br>