Re: ncl rhel6 binary install - error while testing

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Jul 04 2013 - 17:44:30 MDT

Hi,

If you plan to just use NCL, then don't worry about the fact that "ncargex cpex08" failed. You only need this to work if you plan to write NCAR Graphics C or Fortran programs and compile them.

If you really want to get this to work, then it looks like either your compiler is finding the wrong Xext library on your system, or else you have an incorrect installation of it.

You didn't include the full output from "ncargex cpex08", so I'm not sure what "-L" paths it is using, but my guess it that it needs "-L/usr/lib64" on the compile line.

You might try editing $NCARG_ROOT/bin/ncargf77

and modify the line that looks something like this:

set syslibdir = "-L/usr/lib"

to have something like this:

set syslibdir = "-L/usr/lib64"

The "ncargf77" command gets called by the "ncargex" command, so once you make this change and save the file, try running the "ncargex cpex08 -clean" command again.

--Mary

On Jul 3, 2013, at 4:31 PM, "Doraiswamy, Prakash" <pdoraiswamy@rti.org> wrote:

> Hi,
>
> I downloaded the following binary version of the NCL/NCARG package:
>
> ncl_ncarg-6.1.2.Linux_RHEL6.2_x86_64_nodap_gcc472.tar.gz
>
> and placed the extracted folders in /usr/local and updated NCARG_ROOT path in my cshrc file.
>
> When I tested the installation: “ng4ex gsun01n” worked fine, but the ncarg test “ncargex cpex08” failed. Here is the error message I am getting:
>
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../libXext.so when searching for –lXext
> /usr/bin/ld: skipping incompatible /usr/lib/libXext.so when searching for –lXext
> /usr/bin/ld: cannot find –lXext
> Collect2: ld returned 1 exit status
> The compile and link failed.
>
> I see the following files installed when I do ls *Xext* in /usr/lib and /usr/lib64:
>
> /usr/lib/libXext.so (symbolic link to so.6.4.0)
> /usr/lib/libXext.so.6 (symbolic link)
> /usr/lib/libXext.so.6.4.0
>
> /usr/lib64/libXext.so.6
> /usr/lib64/libXext.so.6.4.0
>
> I have RHEL6 on my cluster. gcc –v returns “gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)”
>
> Can you please guide as to where the problem might be? I even tried with the binary ending in gcc446.tar.gz, but still got the same message. Thanks for your help.
>
> Thanks,
> Prakash
>
>
> ************************************************
> Prakash Doraiswamy, Ph.D.
> Research Environmental Scientist-2
> Environmental & Industrial Sciences Division
> RTI International
>
> 3040 East Cornwallis Road
> Post Office Box 12194
> Research Triangle Park, NC 27709-2194
>
> Ph: 919-990-8648
> e-mail: pdoraiswamy@rti.org
> ************************************************
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Thu Jul 4 17:44:37 2013

This archive was generated by hypermail 2.1.8 : Thu Aug 01 2013 - 15:56:41 MDT