X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Trace: 111868840/mk-filter-1.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: ApwEAJpgK0lPQgsI/2dsb2JhbACEElnNIoJ8 X-IronPort-AV: E=Sophos;i="4.33,663,1220223600"; d="scan'208";a="111868840" Message-ID: <00ec01c94ee7$9166dfe0$4001a8c0@mycomputer> From: "John Emmas" To: Subject: LD_LIBRARY_PATH Date: Tue, 25 Nov 2008 10:21:23 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 When I compile & build for my Linux installation, library files and shared objects go to /usr/lib/ If I then run an executable (from /usr/bin/) it will automatically find the shared objects because it expects them to be in /usr/lib/. This isn't happening for Cygwin and I'm finding that I need to copy the shared objects into /usr/bin/ After googling, I found out that I might be able to set an envinronment variable called LD_LIBRARY_PATH. So I set it up and tried again - but unfortunately, without success... :-( The only options I've tried so far are LD_LIBRARY_PATH=/usr/bin and LD_LIBRARY_PATH=/usr/bin/ (i.e. with and without a trailing forward slash). Is there anything else I could try? Thanks, 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/