[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Staging #KYN-678004]: ldm problems on ingest



Hi Greg,

re:
> I'm having trouble building GEMPAK from source. Here are some of the
> errors I'm getting in the make.out file when I do a "make all". I seem
> to be unable to make any device drivers because it cannot find -lX11.
> This is a 64-bit Linux system I'm building it on... (Red Hat Release 4).

The error you sent:


> gfortran -fno-second-underscore -fd-lines-as-comments
> -I/home/gempak/GEMPAK5.11.1/gempak/include -I/home/gempak/GEMPAK5.1
> 1.1/os/linux64/include -g   device.f
> /home/gempak/GEMPAK5.11.1/os/linux64/lib/device.a
> /home/gempak/GEMPAK5.11.1/os/linux
> 64/lib/gf.a /home/gempak/GEMPAK5.11.1/os/linux64/lib/gn.a
> /home/gempak/GEMPAK5.11.1/os/linux64/lib/syslib.a /home/gempak/
> GEMPAK5.11.1/os/linux64/lib/gemlib.a
> /home/gempak/GEMPAK5.11.1/os/linux64/lib/cgemlib.a
> /home/gempak/GEMPAK5.11.1/os/linu
> x64/lib/gemlib.a /home/gempak/GEMPAK5.11.1/os/linux64/lib/libnetcdf.a
> /home/gempak/GEMPAK5.11.1/os/linux64/lib/libpng.a /
> home/gempak/GEMPAK5.11.1/os/linux64/lib/libz.a
> /home/gempak/GEMPAK5.11.1/os/linux64/lib/rsl.a /home/gempak/GEMPAK5.11.1/o
> s/linux64/lib/libbz2.a  -lX11 -lm -o gf
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
> make[5]: *** [gf] Error 1
> make[5]: Leaving directory
> `/home/gempak/GEMPAK5.11.1/gempak/source/driver/active/gf'

does indicate that libX11.so can not be found.

> Any ideas?

My first guess would be that your machine does not have a full development
environment installed.  What is the result of:

locate libX11

If a reference to libX11.so is not included in the list generated by
'locate', you will need to work with your system administrator to get
X development stuff loaded.  If it is included in the list, it may be that
it is in a non-standard location, OR it may be that you have LD_LIBRARY_PATH
defined so that the directory where libX11.so is located is not included
in a library search.  If this turns out to be the case, I recommend starting
the build from scratch and undefining LD_LIBRARY_PATH before attempting
a new build.

Cheers,

Tom
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: KYN-678004
Department: Support GEMPAK
Priority: Normal
Status: Closed