Hi,
This is the usual frustrating problem of trying to run an NCL that was
built with the gfortran compiler, and thus it needs a gfortran system
library in order to resolve some symbols at run-time.
Do you have gfortran installed your system? If so, try looking for the
location of a file "libgfortran.so", and then setting your
LD_LIBRARY_PATH to include the path to this file:
csh/tcsh, if LD_LIBRARY_PATH isn't currently set:
setenv LD_LIBRARY_PATH /path/to/the/libgfortran.so/file
csh/tcsh, if LD_LIBRARY_PATH is currently set:
setenv LD_LIBRARY_PATH /path/to/the/libgfortran.so/file:$LD_LIBRARY_PATH
sh/bash, if LD_LIBRARY_PATH isn't currently set.
export LD_LIBRARY_PATH=/path/to/the/libgfortran.so/file
sh/bash, if LD_LIBRARY_PATH is currently set:
export LD_LIBRARY_PATH=/path/to/the/libgfortran.so/file:$LD_LIBRARY_PATH
Of course, replace "/path/to/the/libgfortran.so/file" with the
appropriate path on your system.
Let me know if this doesn't work.
--Mary
On Thu, 6 Nov 2008 xianweiw_at_uci.edu wrote:
> From: "Xianwei Wang" <xianweiw_at_uci.edu>
> To: ncl-talk_at_ucar.edu
> User-Agent: SquirrelMail/1.4.16
> MIME-Version: 1.0
> Content-Type: text/plain;charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
>
>
> HI,
> I just updated my Kubuntu from 8.0.4 to 8.10, and also reinstall the
> gss-trunk (gcc-trunk-x86_64.tar.gz). NCL works fine on the general
> calculation, but it had an error when I plot a figure. The error is:
> "ncl: symbol lookup error: ncl: undefined symbol: _gfortran_copy_string"
>
> I read the posts on the forum and knew the "_gfortran_copy_string" is
> related to gcc-4.1, but how could solve the undefined symbol on the latest
> version?
>
>
> In addition, when I did regridding, I also had an another NCL problem on
> the undefined symbol: _gfortran_internal_malloc64:
> "ncl: symbol lookup error: ncl: undefined symbol:
> _gfortran_internal_malloc64"
>
>
> How could I solve thees problems?
>
> By the way, my scripts worked fine and did not have any problem on my old
> Kubutu 8.0.4 version.
>
> Thanks..
>
> Xianwei
>
>
>
>
> Department of Earth System Science
> University of California-Irvine
> Irvine, CA 92697
> Tel: 949-824-1571
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Nov 06 2008 - 17:17:53 MST
This archive was generated by hypermail 2.2.0 : Fri Nov 07 2008 - 13:41:15 MST