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