delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/19/10:04:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
From: "Dan Osborne" <dan DOT osborne AT ramesys DOT com>
To: <cygwin AT cygwin DOT com>
Subject: dlopen and LD_LIBRARY_PATH
Date: Tue, 19 Oct 2004 15:04:01 +0100
Message-ID: <MLECJOCAOOEMHIHMOACLOEFMCDAA.dan.osborne@ramesys.com>
MIME-Version: 1.0
In-Reply-To: <NUTMEGWiGtXsL1c00go00000034@NUTMEG.CAM.ARTIMI.COM>
X-Ramesys-Professional-Services-MailScanner-Information: Please contact the ISP for more information
X-Ramesys-Professional-Services-MailScanner: Found to be clean
X-Ramesys-Professional-Services-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-3.4, required 5, IN_REP_TO -3.38)
Note-from-DJ: This may be spam

Hello,

If I set my LD_LIBRARY_PATH to .:/path/to/a.so

then I get Win32 error 126 when trying to load a.so using dlopen().

Removing the .: seems to work but will cwd always be searched first? (I
usually confirm this with "shared" in gdb under Linux but in Cygwin this
command works differently and produces no output).

TIA,

Dan Osborne.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.768 / Virus Database: 515 - Release Date: 22/09/2004


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