delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/25/06:14:02

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Trace: 108404800/mk-filter-3.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/79.66.11.8/None/johne53 AT tiscali DOT co DOT uk
X-SBRS: None
X-RemoteIP: 79.66.11.8
X-IP-MAIL-FROM: johne53 AT tiscali DOT co DOT uk
X-MUA: Microsoft Outlook Express 6.00.2900.2180Produced By Microsoft MimeOLE V6.00.2900.2180
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApwEAJtrK0lPQgsI/2dsb2JhbACEElnNJYJ8
X-IronPort-AV: E=Sophos;i="4.33,663,1220223600"; d="scan'208";a="108404800"
Message-ID: <011701c94eee$c8e4f180$4001a8c0@mycomputer>
From: "John Emmas" <johne53 AT tiscali DOT co DOT uk>
To: <cygwin AT cygwin DOT com>
References: <00ec01c94ee7$9166dfe0$4001a8c0 AT mycomputer> <20081125104337 DOT GU30831 AT calimero DOT vinschen DOT de>
Subject: Re: LD_LIBRARY_PATH
Date: Tue, 25 Nov 2008 11:13:02 -0000
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

----- Original Message ----- 
From: "Corinna Vinschen"
Sent: 25 November 2008 10:43
Subject: Re: LD_LIBRARY_PATH
>
> $PATH is what you want and if you examine /bin resp. /usr/bin, you see
> that Cygwin puts all shared libs there for the above reason.  /lib resp.
> /usr/lib only contain the static libs and the shared link stubs
> necessary for the linker at build time.
>
> LD_LIBRARY_PATH only has a meaning in Cygwin's dlopen() implementation,
> when loading shared libs at runtime.
>
Thanks Corinna.  AFAIK my development IDE won't allow me to direct the link
stubs to a different folder from the shared objects (unless I copy them, of
course).  So I've just added cygwin's /usr/lib to my path.  This makes it
 work the same way as my 2 x Linux distros which will probably avoid
confusion in the long run.

John

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