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 &lt;<a href="mailto:haley@ucar.edu">haley@ucar.edu</a>&gt; 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&#39;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> &nbsp; &nbsp;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. &nbsp;I googled<br>
this issue, but didn&#39;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">&gt; Hi Mary,<br>&gt; It is<br>
&gt; GNU Fortran (GCC) 4.2.1 (Ubuntu 4.2.1-5ubuntu4)<br>&gt;<br>&gt; Thank you<br>&gt; Siji<br>&gt;<br>&gt; On Feb 10, 2008 6:51 PM, Mary Haley &lt;<a href="mailto:haley@ucar.edu">haley@ucar.edu</a>&gt; wrote:<br>&gt;<br>
&gt;&gt; Siji,<br>&gt;&gt;<br>&gt;&gt; What version of gfortran do you have (gfortran --version)? I&#39;ll check<br>&gt;&gt; it against what we built NCL with.<br>&gt;&gt;<br>&gt;&gt; --Mary<br>&gt;&gt;<br>&gt;&gt; On Feb 9, 2008, at 5:41 AM, Sijikumar S wrote:<br>
&gt;&gt;<br>&gt;&gt;&gt; Hi Marry,<br>&gt;&gt;&gt; I have a problem after &nbsp;installing NCL 5<br>&gt;&gt;&gt; (ncl_ncarg-5.0.0.Linux_x86_64_gcc4.tar.gz) in my pc.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; The error is<br>&gt;&gt;&gt; ncl: error while loading shared libraries: libgfortran.so.1: cannot<br>
&gt;&gt;&gt; open shared object file: No such file or directory<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Details follows<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; ldd $NCARG_ROOT/bin/ncl<br>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libX11.so.6 =&gt; /usr/lib/libX11.so.6 (0x00002afdbd0db000)<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libXext.so.6 =&gt; /usr/lib/libXext.so.6 (0x00002afdbd3ec000)<br>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libgfortran.so.1 =&gt; not found<br>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;libm.so.6 =&gt; /lib/libm.so.6 (0x00002afdbd5fd000)<br>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libdl.so.2 =&gt; /lib/libdl.so.2 (0x00002afdbd87f000)<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libc.so.6 =&gt; /lib/libc.so.6 (0x00002afdbda83000)<br>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; libXau.so.6 =&gt; /usr/lib/libXau.so.6 (0x00002afdbddde000)<br>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;libXdmcp.so.6 =&gt; /usr/lib/libXdmcp.so.6 (0x00002afdbdfe1000)<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; /lib64/ld-linux-x86-64.so.2 (0x00002afdbcebd000)<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; It means &nbsp;libgfortran.so.1 is not in my system, but I found<br>&gt;&gt;&gt; libgfortran.so.2 in /usr/lib. Need to get libgfortran.so.1 ?<br>
&gt;&gt;&gt; &nbsp;My system details are<br>&gt;&gt;&gt; uname -a<br>&gt;&gt;&gt; Linux krish 2.6.22-14-generic #1 SMP Thu Jan 31 23:33:13 UTC 2008<br>&gt;&gt;&gt; x86_64 GNU/Linux<br>&gt;&gt;&gt; gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)<br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; Thanks in advance,<br>&gt;&gt;&gt; Siji<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br></div></div></blockquote></div><br>