X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=eri LwozLMl9vTZzLaT0vti5k+TZh5Qdj6P+wTErpMv8Ko9MBis+riKLHwz3BtzS2ReQ RaXJvA+cGKm/a5d6jHSXYtATV3aQ/gxfOKEQpVQREv/UXl4MVvgPVWeLi31ht/f+ 7RsXDZhoMKfVS8um+4tUIA3+uS2cf5pc8B2UKeOM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=xIw2wOIkU j72xG9PslOn4Gp8wi4=; b=gTctQJ4Kxt3xgKwbWoTNJ8XRvxttHSwV7t8Rlg+j5 PI19vwManEUaV/XZxrwxBfVVCC8otI9V4L58+7Rn/puioB3ZJHIclkPzTDbmzTG0 orxoYZHOk0eF8/7vVFVn4LRgpnTrzh2RQ6UjPzkaQ7lveC7PMnH9PwQpIJXvqjNt o8= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Paul Subject: octave: cannot open shared object file: No such file or directory Date: Fri, 24 Jan 2014 23:11:13 +0000 (UTC) Lines: 31 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes I use both Windows and cygwin X11 gvim -- mostly the former out of convenience and speed. I often shell out for filtering, and I'm careful to ensure that my vimrc shell setting directs commands to cygwin's bash: let &shell='set HOME=c:\cygwin\home\'.$USERNAME.'& \ c:\cygwin\bin\bash.exe -i' However, I recently started to get the following message when sending expressions to octave: /usr/bin/octave-3.6.2.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory I know there there isn't anything *fundamentally* wrong because when I start up cygwin normally via the mintty shortcut, octave starts fine. I thought it was a $PATH problem, so I rejigged .bashrc to ensure that the path is the same regardless of whether I start bash from the mintty shortcut or shell out from Windows gvim. This does not solve the problem. I confirmed that $LD_LIBRARY_PATH is empty regardless of how bash is started up, so I don't think that's the problem. Can anyone suggest what might be causing the octave error if not $PATH and $LD_LIBRARY_PATH? Again, there is no problem when invoked from a bash shell that is started from the mintty shortcut. Furthermore, there was no problem at all before a few days ago. The only big change is that my admin deleted Matlab 2012a, but I have Matlab 2013a (in a different path). But the fact that octave runs from a normally started bash tells me that this should not be a show stopper (if in fact it's even the cause). Note that I work in a locked down environment, so I can't upgrade anything and downloading stuff is hit-and-miss. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple