NSF Unidata

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

[GEMPAK #MVE-158676]: Re: [gembud] 11.4 Beta?

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.



Josh,

The problem with Xm is the use of the static libXm.a.

This can be avoided by uncommenting the use of the static MOTIFLIBS definition 
in $CONFIGDIR/Makeinc.linux_gfortran, and commenting out the
use of the sharable libXm.a

eg, replace

#MOTIFLIBS = $(X11LIBDIR) -Wl,-static -lXm -Wl,-Bdynamic -lSM -lICE -lXp -lXext 
-lXft
MOTIFLIBS = $(X11LIBDIR) -lXm -lSM -lICE -lXp -lXext -lXft

with 

MOTIFLIBS = $(X11LIBDIR) -Wl,-static -lXm -Wl,-Bdynamic -lSM -lICE -lXp -lXext 
-lXft
#MOTIFLIBS = $(X11LIBDIR) -lXm -lSM -lICE -lXp -lXext -lXft



Michael James



> The library turns up as /usr/lib/libXm.a
> --JB
> 
> On Tuesday 10 February 2009 17:59:16 Unidata GEMPAK Support wrote:
> > Alright, I think we're close.
> >
> > It appears that the libXm libraries are not being found.  Can you check
> > where the libraries are located:
> >
> > locate libXm.a
> >
> > Mike
> >
> >
> > > > > The error I get when making in the individual app directories:
> > > > >
> > > > > /usr/lib/gcc/i586-suse-linux/4.3/../../../libXm.a(EditresCom.o): In
> > > > > function `CvtStringToBlock': (.text+0x876): undefined reference to
> > > > > `XmuNCopyISOLatin1Lowered'
> > > > > /usr/lib/gcc/i586-suse-linux/4.3/../../../libXm.a(Jpeg.o): In
> > > > > function `load_jpeg': (.text+0x1dc): undefined reference to
> > > > > `jpeg_std_error'
> > > > > /usr/lib/gcc/i586-suse-linux/4.3/../../../libXm.a(Jpeg.o): In
> > > > > function `load_jpeg': (.text+0x222): undefined reference to
> > > > > `jpeg_CreateDecompress'
> > > > > /usr/lib/gcc/i586-suse-linux/4.3/../../../libXm.a(Jpeg.o): In
> > > > > function `load_jpeg': (.text+0x234): undefined reference to
> > > > > `jpeg_stdio_src'
> > > > > /usr/lib/gcc/i586-suse-linux/4.3/../../../libXm.a(Jpeg.o): In
> > > > > function `load_jpeg': (.text+0x244): undefined reference to
> > > > > `jpeg_read_header'
> > > > > /usr/lib/gcc/i586-suse-linux/4.3/../../../libXm.a(Jpeg.o): In
> > > > > function `load_jpeg': (.text+0x24c): undefined reference to
> > > > > `jpeg_calc_output_dimensions'
> > > > > /usr/lib/gcc/i586-suse-linux/4.3/../../../libXm.a(Jpeg.o): In
> > > > > function `load_jpeg': (.text+0x254): undefined reference to
> > > > > `jpeg_start_decompress'
> > > > > /usr/lib/gcc/i586-suse-linux/4.3/../../../libXm.a(Jpeg.o): In
> > > > > function `load_jpeg': (.text+0x2b8): undefined reference to
> > > > > `jpeg_read_scanlines'
> > > > > /usr/lib/gcc/i586-suse-linux/4.3/../../../libXm.a(Jpeg.o): In
> > > > > function `load_jpeg': (.text+0x2ec): undefined reference to
> > > > > `jpeg_finish_decompress'
> > > > > /usr/lib/gcc/i586-suse-linux/4.3/../../../libXm.a(Jpeg.o): In
> > > > > function `load_jpeg': (.text+0x2f4): undefined reference to
> > > > > `jpeg_destroy_decompress'
> > > > > /usr/lib/gcc/i586-suse-linux/4.3/../../../libXm.a(Jpeg.o): In
> > > > > function `load_jpeg': (.text+0x322): undefined reference to
> > > > > `jpeg_destroy_decompress'
> > > > > collect2: ld returned 1 exit status
> > > > > make: *** [nmap2] Error 1
> > > > >
> > > > > I have verified that libjpeg and libjpeg-devel are both installed and
> > > > > are version 6.2.0-843.47.
> 
> 


Ticket Details
===================
Ticket ID: MVE-158676
Department: Support GEMPAK
Priority: Normal
Status: Open