delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/22/13:39:29

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Dave Korn" <dk AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: regarding about i686-pc-cygwin/bin/ld: cannot find -lX11
Date: Thu, 22 Jan 2004 18:39:15 -0000
MIME-Version: 1.0
In-Reply-To: <20040122182518.81562.qmail@web40019.mail.yahoo.com>
Message-ID: <NUTMEGyifMH2knFMjLQ00000196@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 22 Jan 2004 18:39:15.0173 (UTC) FILETIME=[0938F150:01C3E117]

 

> -----Original Message-----
> From: cygwin-owner On Behalf Of fai choy

> I ran 'make' on my cygwin to compile one of my c program and got into 
> the 'cannot find -lX11' error. I searched the cygwin archives 
> and found 
> Corinna's reply to someone running into the same problem back in Sep 
> 2003. The solution was to set the LD_LIBRARY_PATH to look for the 
> libX11 files. Thus I added my own CYGWIN_LIBX11 path to my .bashrc as 
> such:
> 
> export CYGWIN_LIBX11=/cygwin/usr/X11R6/lib

  That looks wrong to me.  Most people would have those files in
/usr/X11R6/lib.  Most people don't even have a directory called 'cygwin' in
the root folder of their cygwin install.  I think you meant to say

> export CYGWIN_LIBX11=/usr/X11R6/lib

and you got a bit mixed up.


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....
 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019