ncargex can't find X11 libraries (Redhat 9)

From: Persaram Batra <pbatra_at_nyahnyahspammersnyahnyah>
Date: Sun, 5 Feb 2006 15:35:48 -0500

Hi All,

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 compile and link failed.

Can someone help? Here is the listing of /usr/X11R6/lib:

    [pbatra_at_localhost ~]$ ls -l /usr/X11R6/lib
    total 9032
    lrwxrwxrwx 1 root root 13 Jan 17 22:06 libdps.so.1 ->
libdps.so
    .1.0
    -rwxr-xr-x 1 root root 278128 Feb 12 2004 libdps.so.1.0
    lrwxrwxrwx 1 root root 15 Jan 17 22:06 libdpstk.so.1 ->
libdpst
    k.so.1.0
    -rwxr-xr-x 1 root root 27680 Feb 12 2004 libdpstk.so.1.0
    lrwxrwxrwx 1 root root 12 Jan 17 22:06 libGL.so.1 ->
libGL.so.1
    .2
    -rwxr-xr-x 1 root root 264888 Feb 12 2004 libGL.so.1.2
    lrwxrwxrwx 1 root root 13 Jan 17 22:01 libGLU.so.1 ->
libGLU.so
    .1.3
    -rwxr-xr-x 1 root root 507000 Feb 12 2004 libGLU.so.1.3
    lrwxrwxrwx 1 root root 13 Jan 17 22:06 libICE.so.6 ->
libICE.so
    .6.3
    -rwxr-xr-x 1 root root 82320 Feb 12 2004 libICE.so.6.3
    lrwxrwxrwx 1 root root 15 Jan 15 09:14 libMrm.so.3 ->
libMrm.so
    .3.0.1
    -rwxr-xr-x 1 root root 126980 Jan 25 2003 libMrm.so.3.0.1
    lrwxrwxrwx 1 root root 16 Jan 17 22:06
libOSMesa.so.4-> libOSM
    esa.so.4.0
    -rwxr-xr-x 1 root root 1433576 Feb 12 2004 libOSMesa.so.4.0
    lrwxrwxrwx 1 root root 15 Jan 17 22:06 libpsres.so.1 ->
libpsre
    s.so.1.0
    -rwxr-xr-x 1 root root 19388 Feb 12 2004 libpsres.so.1.0
    lrwxrwxrwx 1 root root 12 Jan 17 22:06 libSM.so.6 ->
libSM.so.6
    .0
    -rwxr-xr-x 1 root root 31512 Feb 12 2004 libSM.so.6.0
    lrwxrwxrwx 1 root root 15 Jan 15 09:14 libUil.so.3 ->
libUil.so
    .3.0.1
    -rwxr-xr-x 1 root root 352900 Jan 25 2003 libUil.so.3.0.1
    lrwxrwxrwx 1 root root 13 Jan 17 22:06 libX11.so.6 ->
libX11.so
    .6.2
    -rwxr-xr-x 1 root root 909072 Feb 12 2004 libX11.so.6.2
    lrwxrwxrwx 1 root root 15 Jan 15 09:21 libXaw3d.so.6 ->
libXaw3
    d.so.6.1
    -rwxr-xr-x 1 root root 281028 Jan 24 2003 libXaw3d.so.6.1
    lrwxrwxrwx 1 root root 15 Jan 15 09:21 libXaw3d.so.7 ->
libXaw3
    d.so.7.0
    -rwxr-xr-x 1 root root 278660 Jan 24 2003 libXaw3d.so.7.0
    lrwxrwxrwx 1 root root 13 Jan 17 22:06 libXaw.so.6 ->
libXaw.so
    .6.1
    -rwxr-xr-x 1 root root 257616 Feb 12 2004 libXaw.so.6.1
    lrwxrwxrwx 1 root root 13 Jan 17 22:06 libXaw.so.7 ->
libXaw.so
    .7.0
    -rwxr-xr-x 1 root root 368368 Feb 12 2004 libXaw.so.7.0
    lrwxrwxrwx 1 root root 17 Jan 17 22:06
libXcursor.so.1-> libXc
    ursor.so.1.0
    -rwxr-xr-x 1 root root 32660 Feb 12 2004
libXcursor.so.1.0
    lrwxrwxrwx 1 root root 14 Jan 17 22:06 libXext.so.6 ->
libXext.
    so.6.4
    -rwxr-xr-x 1 root root 53520 Feb 12 2004 libXext.so.6.4
    lrwxrwxrwx 1 root root 15 Jan 17 22:06 libXfont.so.1 ->
libXfon
    t.so.1.4
    -rwxr-xr-x 1 root root 644200 Feb 12 2004 libXfont.so.1.4
    lrwxrwxrwx 1 root root 13 Jan 17 22:06 libXft.so.1 ->
libXft.so
    .1.1
    -rwxr-xr-x 1 root root 52596 Feb 12 2004 libXft.so.1.1
    lrwxrwxrwx 1 root root 15 Jan 17 22:06 libXft.so.2 ->
libXft.so
    .2.1.1
    -rwxr-xr-x 1 root root 71916 Feb 12 2004 libXft.so.2.1.1
    lrwxrwxrwx 1 root root 12 Jan 17 22:06 libXi.so.6 ->
libXi.so.6
    .0
    -rwxr-xr-x 1 root root 28016 Feb 12 2004 libXi.so.6.0
    lrwxrwxrwx 1 root root 14 Jan 15 09:14 libXm.so.3 ->
libXm.so.3
    .0.1
    -rwxr-xr-x 1 root root 2386852 Jan 25 2003 libXm.so.3.0.1
    lrwxrwxrwx 1 root root 13 Jan 17 22:06 libXmu.so.6 ->
libXmu.so
    .6.2
    -rwxr-xr-x 1 root root 89456 Feb 12 2004 libXmu.so.6.2
    lrwxrwxrwx 1 root root 14 Jan 17 22:06 libXmuu.so.1 ->
libXmuu.
    so.1.0
    -rwxr-xr-x 1 root root 10504 Feb 12 2004 libXmuu.so.1.0
    lrwxrwxrwx 1 root root 14 Jan 17 22:06 libXpm.so.4 ->
libXpm.so
    .4.11
    -rwxr-xr-x 1 root root 56288 Feb 12 2004 libXpm.so.4.11
    lrwxrwxrwx 1 root root 12 Jan 17 22:06 libXp.so.6 ->
libXp.so.6
    .2
    -rwxr-xr-x 1 root root 27972 Feb 12 2004 libXp.so.6.2
    lrwxrwxrwx 1 root root 16 Jan 17 22:06
libXrandr.so.2-> libXra
ndr.so.2.0
    -rwxr-xr-x 1 root root 9976 Feb 12 2004 libXrandr.so.2.0
    lrwxrwxrwx 1 root root 19 Jan 17 22:06
libXrender.so.1-> libXr
ender.so.1.2.2
    -rwxr-xr-x 1 root root 27404 Feb 12 2004
libXrender.so.1.2.2
    lrwxrwxrwx 1 root root 15 Jan 17 22:06 libXTrap.so.6 ->
libXTra p.so.6.4
    -rwxr-xr-x 1 root root 31376 Feb 12 2004 libXTrap.so.6.4
    lrwxrwxrwx 1 root root 12 Jan 17 22:06 libXt.so.6 ->
libXt.so.6 .0
    -rwxr-xr-x 1 root root 329168 Feb 12 2004 libXt.so.6.0
    lrwxrwxrwx 1 root root 14 Jan 17 22:06 libXtst.so.6 ->
libXtst. so.6.1
    -rwxr-xr-x 1 root root 18004 Feb 12 2004 libXtst.so.6.1
    lrwxrwxrwx 1 root root 12 Jan 17 22:06 libXv.so.1 ->
libXv.so.1 .0
    -rwxr-xr-x 1 root root 14632 Feb 12 2004 libXv.so.1.0
    drwxr-xr-x 9 root root 4096 Jan 17 22:09 modules
    drwxr-xr-x 10 root root 4096 Jan 17 22:14 X11
    drwxr-xr-x 2 root root 4096 Jan 15 09:39 xscreensaver
    [pbatra_at_localhost ~]$

--
Persaram O. Batra
Visiting Assistant Professor
Department of Earth and Environment
Mount Holyoke College

_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Sun Feb 05 2006 - 13:35:48 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 07 2006 - 16:27:15 MST