From: Paul <Paul.Domaskis@gmail.com>
To: cygwin@cygwin.com
Subject: octave: cannot open shared object file: No such file or directory
Date: Fri, 24 Jan 2014 23:11:00 -0000 [thread overview]
Message-ID: <loom.20140125T001029-429@post.gmane.org> (raw)
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
next reply other threads:[~2014-01-24 23:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-24 23:11 Paul [this message]
2014-01-24 23:21 ` Larry Hall (Cygwin)
2014-01-24 23:46 ` Paul
2014-01-25 6:27 ` Marco Atzeri
2014-01-25 6:36 ` Achim Gratz
2014-01-27 16:09 ` Paul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20140125T001029-429@post.gmane.org \
--to=paul.domaskis@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).