Re: X11 library error

From: Jenny Fox <Jenny.Fox_at_nyahnyahspammersnyahnyah>
Date: Tue, 20 Jun 2006 16:15:09 -0600

Hi Kurt.

I think this was my post that you're referring to. At first I
installed the static versions from xfree86 but it broke Xwindows on
other parts of my machine. So if you're running Red Hat, the easiest
way to fix this is to install the developers x11 rpm. The current
one is:

xorg-x11-devel-6.8.2-1.EL.13.25.1

That fixed both my ncarg problems and my other X problems.
Apparently only the developers rpm includes the static libraries.

--jenny

On Jun 20, 2006, at 3:41 PM, kurt poeppel wrote:

> Rick Grubin,
>
> I found this article in the archives of NCARG Talk. I
> have the exact same problem:
> **************************************************
>
> 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.
>
> ***********************************************
> I tried installing the new libaries from
> www.xfree86.org, but it just replaced the old
> shared-object libraries with new shared-object
> libraries. Not only that, but it crashed X11 and my
> OS. Luckily I didn't lose any data. I'm relatively
> new to Linux. Is there some way I can set up NCARG to
> use the shared-object libraries? Is there an easier
> way to get static libraries?
>
> Thank you for your help,
>
> Kurt Poeppel
> B.S. Meteorology 2003, Valparaiso University
> M.S. Atmospheric Science 2005, SDSM&T
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> ncarg-talk mailing list
> ncarg-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncarg-talk

_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Tue Jun 20 2006 - 16:15:09 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 20 2006 - 16:39:14 MDT