[ncl-install] some problems with libncarg.a

Mary Haley haley at ucar.edu
Tue Oct 7 21:10:46 MDT 2008


Hi,

Your error message:

  /usr/bin/ld: skipping incompatible
  /disk/local_x86_64/pgi-cdk-7.2.1cos5/linux86-64/7.2-1/lib/libpgc.so when
  searching for -lpgc

could indicate that your Portland compiler was either not installed
correctly on your system, or that you have multiple compilers on your
system set up for different architectures, and you are using the
wrong one.

Please double-check that your compiler environment is set up
correctly, and that you are using the correct compiler for your
system.

--Mary

On Wed, 8 Oct 2008, RUAN Tao wrote:

> Dear helper,
>
>   I am sorry to interrupt you. I am one of the user of ncarg. When I am
> compiling some tools for WRF plotting,  I always can not go through some
> routines.
>
>    I get some messages as follows,
> ------------------------------------------------------------
> pgf90 -o plot_level.exe   plot_level.o module_header.o module_map_stuff.o
> module_ncarg.o module_read_station.o date_pack_module.o
> -L/usr/local/ncarg-4.4.1-x86_64/lib -lncarg -lncarg_gks -lncarg_c -lX11
> -lm -L/usr/local/netcdf-3.6.2-x84_64-pgi/lib -lnetcdf
> -I/usr/local/netcdf-3.6.2-x84_64-pgi/include
> /usr/bin/ld: skipping incompatible
> /disk/local_x86_64/pgi-cdk-7.2.1cos5/linux86-64/7.2-1/lib/libpgc.so when
> searching for -lpgc
> /usr/local/ncarg-4.4.1-x86_64/lib/libncarg.a(mdlndr.o): In function
> `mdlndr_':
> mdlndr.f:(.text+0xbf): undefined reference to `s_cat'
> mdlndr.f:(.text+0x131): undefined reference to `s_cmp'
> mdlndr.f:(.text+0x1c5): undefined reference to `s_cat'
> -------------------------------------------------------------------
>
>   Actually there are many similar messages for other routines. I would
> like to know how I can fix these?  Is that something wrong with
> installation?
>
> Tnank you for any information.
>
>
>
>
> LJ(RUAN Tao)
>
>
>
>
> _______________________________________________
> ncl-install mailing list
> ncl-install at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>


More information about the ncl-install mailing list