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

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
Message-ID: <20040122182518.81562.qmail@web40019.mail.yahoo.com>
Date: Thu, 22 Jan 2004 10:25:18 -0800 (PST)
From: fai choy <iafcp AT yahoo DOT com>
Subject: regarding about i686-pc-cygwin/bin/ld: cannot find -lX11
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-IsSubscribed: yes

Dear Corinna or anyone who can help,
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
export NS_HOME=/home/CHOY_PENG_FAI/ns-allinone-2.26/
export 
PATH=$NS_HOME/tcl8.3.2/unix:$NS_HOME/tk8.3.2/unix:$NS_HOME/bin:$PATH
export 
LD_LIBRARY_PATH=$NS_HOME/tcl8.3.2/unix:$NS_HOME/tk8.3.2/unix:$NS_HOME/o
tcl-1.0a8:$CYGWIN_LIBX11:$NS_HOME/lib:$LD_LIBRARY_PATH
export TCL_LIBRARY=$NS_HOME/tcl8.3.2/library

However, when I ran 'make' again, I still received the
same error. Did 

I make any mistake somewhere? Kindly advise.
Thank you.

Rgds
Choy
Nanyang Technological University
Singapore


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

--
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