Re: ncargex can't find X11 libraries (Redhat 9)

From: Rick Grubin <grubin_at_nyahnyahspammersnyahnyah>
Date: Tue, 7 Feb 2006 16:52:38 -0700

Hello,

> I just installed NCAR graphics under Redhat 9, and when I test it by
> running ncargex I get the following:
>     [pbatra_at_localhost ~]$ ncargex cpex08
>     NCAR Graphics Fortran  Example <cpex08>
>       Copying cpex08.f
>       Copying cpexcc.f
>     Compiling and linking...
>     g77 -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncarg/lib
> -L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext
>     /usr/bin/ld: cannot find -lX11
>     collect2: ld returned 1 exit status

The error you're seeing, and the listing of X11 libraries [deleted] you
provided, indicate that you don't have installed static versions --
that is, non-shared versions -- of these libraries. You have shared
object libraries ("*.so") and the NCAR Graphics applications are
expecting static ("*.a") libraries.

You can install the static versions of libraries on your host by
visiting the XFree86 Project website at:
     www.xfree86.org
and downloading the appropriate distribution for your host. There are
both ftp and http servers available. You may download the latest
version (v4.5.0), but there are links to older distributions. At the
very least, you want v4.1.0

-Rick.

----
Rick Grubin      NCAR/CISL/SCD/VETS
Visualization + Enabling Technologies
grubin_at_ucar.edu             303.497.1832
_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Tue Feb 07 2006 - 16:52:38 MST

This archive was generated by hypermail 2.2.0 : Wed Feb 08 2006 - 09:25:32 MST