Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: dlopen and LD_LIBRARY_PATH Date: Tue, 19 Oct 2004 15:04:01 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit In-Reply-To: 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/