[ncl-install] X11 problem on install

Saurabh Barve sbarve at nps.edu
Fri Mar 28 13:48:37 MDT 2008


The NCARG_LIBS2 does not include '-lX11', so you shouldn't need to change
that. Could you send me your config file and Makefile? You can send it
directly to my email address, instead of the list, if you want.


On 3/28/08 12:40 PM, "brian vant-hull" <brianvanthull at yahoo.com> wrote:

> Thanks for the tips.  At least I know what direction
> to head.
> 
> I tried adding /usr/lib64 to my path, cleaning out the
> *.o files and recompiling, but it didn't work.  I get
> 
>  plotgrids.o -L/usr/local/lib -lncarg -lncarg_gks
> -lncarg_c -L/usr/X11R6/lib -lX11
> -L/usr/pgi/linux86-64/5.2/lib -lpgftnrtl -lpgc
> -L/usr/lib64 -lg2c
> /usr/bin/ld: cannot find -lX11
> 
> So it's still using /usr/X11R6/lib.
> 
> the 'configure' file seems to apply only to netcdf,
> the configure.wps file has a line
> 
> NCARG_LIBS2     =       -L${PGI}/linux86-64/5.2/lib
> -lpgftnrtl -lpgc \
>                         -L/usr/lib64 -lg2c
> 
> is this the one I change?  If so it already lists
> lib64.  You may need to get very specific with me
> because i don't really know my way around the 'make'
> syntax.
> 
> Thanks again.  
> 
> -Brian.
> 
> --- Saurabh Barve <sbarve at nps.edu> wrote:
> 
>> I'm not sure, there is any useful /usr/X11R6/lib64
>> folder on the new OS
>> versions (RHEL5, CentOS 5, etc.). To find the right
>> X11 stuff, I have to set
>> the path to /usr/lib64. All the X libraries now
>> reside there.
>> 
>> 
>> On 3/28/08 11:33 AM, "Mary Haley" <haley at ucar.edu>
>> wrote:
>> 
>>> Hi Brian,
>>> 
>>> Did you mean to use "-L/usr/X11R6/lib64" instead?
>> You may need to
>>> modify your config file to reflect this.
>>> 
>>> If you did mean to use /usr/X11R6/lib, then what
>> do you see in there
>>> with regard to files that start with "lib"? You
>> should at least see
>>> something like:
>>> 
>>> libX11.a
>>> libX11.so -> libX11.so.6.2*
>>> libX11.so.6 -> libX11.so.6.2*
>>> libX11.so.6.2*
>>> 
>>> --Mary
>>> 
>>> On Mar 28, 2008, at 8:17 AM, brian vant-hull
>> wrote:
>>> 
>>>> Hi folks;
>>>> 
>>>> on trying to install ncar graphics I'm getting an
>>>> error message that doesn't make sense.  The
>> relevant
>>>> compiler messages are:
>>>> 
>>>> pgf90 -o plotfmt.exe  plotfmt.o read_met_module.o
>>>> module_debug.o \
>>>>         misc_definitions_module.o cio.o
>>>> met_data_module.o \
>>>>         -L/usr/local/lib -lncarg -lncarg_gks
>> -lncarg_c
>>>> -L/usr/X11R6/lib -lX11
>> -L/usr/pgi/linux86-64/5.2/lib
>>>> -lpgftnrtl -lpgc -L/usr/lib64 -lg2c
>>>> /usr/bin/ld: cannot find -lX11
>>>> 
>>>> Note that it cannot find X11.  But I checked
>>>> /usr/X11R6/lib and it's chock full of stuff,
>> including
>>>> an X11 folder.  So what could be the problem?
>>>> 
>>>> Thanks,
>>>> 
>>>> Brian Vant-Hull
>>>> 917-318-4481
>>>> 
>>>> 
>>>>        
>>>> 
>> 
> _______________________________________________________________________
>>>> _____________
>>>> Be a better friend, newshound, and
>>>> know-it-all with Yahoo! Mobile.  Try it now.
>>>> 
>> 
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>>>> _______________________________________________
>>>> ncl-install mailing list
>>>> ncl-install at ucar.edu
>>>> 
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>> 
>>> _______________________________________________
>>> ncl-install mailing list
>>> ncl-install at ucar.edu
>>> 
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>> 
>> -- 
>> Saurabh Barve
>> sbarve at nps.edu
>> 831-656-3396
>> 
>> 
>> 
>> 
> 
> 
> Brian Vant-Hull
> 917-318-4481
> 
> 
>       
> ______________________________________________________________________________
> ______
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile.  Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> _______________________________________________
> ncl-install mailing list
> ncl-install at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

-- 
Saurabh Barve
sbarve at nps.edu
831-656-3396





More information about the ncl-install mailing list