[ncl-install] Re: NCL 5 libgfortran

Mary Haley haley at ucar.edu
Wed Feb 13 12:22:58 MST 2008


Siji,

Thanks for the update.

If anybody wants to try an NCL build from source code using
gcc/gfortran 4.2.x, we will be willing to help, and then we can
provide the binaries to everybody.

--Mary


On Wed, 13 Feb 2008, Sijikumar S wrote:

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


More information about the ncl-install mailing list