Mail Archives: cygwin/2009/07/13/10:25:49
I have been unable to get Cygwin Octave to run:
vanzandt:~ $ octave
vanzandt:~ $
Here's my version info:
vanzandt:~ $ cygcheck -c -h cygwin
Cygwin Package Information
Package Version Status
cygwin 1.5.25-15 OK
vanzandt:~ $ cygcheck -c -h octave
Cygwin Package Information
Package Version Status
octave 3.0.3-1 OK
I see Octave 3.2 has been packaged for Cygwin 1.7, but apparently Cygwin 1.=
7 hasn't been released. I have certainly taken no special steps to get a p=
rerelease version. Octave is the only Cygwin program I've noticed problems=
with, so I'm reluctant to go to a prelease version of Cygwin.=20=20
Apparently octave cannot find two shared libraries:
vanzandt:~ $ which octave
/bin/octave
vanzandt:~ $ file /bin/octave
/bin/octave: symbolic link to `octave-3.0.3.exe'
vanzandt:~ $ cygcheck /bin/octave-3.0.3.exe
C:\cygwin\bin/octave-3.0.3.exe
C:\cygwin\bin\cygoctinterp.dll
C:\cygwin\bin\cygcruft.dll
Error: could not find cygblas.dll
C:\cygwin\bin\cygwin1.dll
C:\WINDOWS\system32\ADVAPI32.DLL
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\RPCRT4.dll
C:\WINDOWS\system32\Secur32.dll
Error: could not find cyglapack.dll
C:\cygwin\bin\cyggcc_s.dll
C:\cygwin\bin\cygoctave.dll
Error: could not find cygblas.dll
C:\cygwin\bin\cygfftw3-3.dll
Error: could not find cyglapack.dll
C:\cygwin\bin\cygreadline6.dll
C:\cygwin\bin\cygncurses-9.dll
C:\WINDOWS\system32\USER32.dll
C:\WINDOWS\system32\GDI32.dll
C:\cygwin\bin\cyghdf5-0.dll
C:\cygwin\bin\cygz.dll
C:\cygwin\bin\cyggcc_s-1.dll
Those libraries actually are installed, as part of the lapack package:
vanzandt:~ $ cygcheck -c lapack
Cygwin Package Information
Package Version Status
lapack 3.0-8 OK
vanzandt:~ $ cygcheck -l lapack|grep cyglapack
/usr/lib/lapack/cyglapack.dll
vanzandt:~ $ ls -l /usr/lib/lapack/cyg*
-rwxr-x---+ 1 jrv Users 591360 Mar 24 2006 /usr/lib/lapack/cygblas.dll
-rwxr-x---+ 1 jrv Users 5003776 Mar 24 2006 /usr/lib/lapack/cyglapack.dll
I believe Cygwin is supposed to automatically ensure that the correct versi=
on of each shared library is installed and loaded, but it looks like some p=
art of that has broken down.=20=20
Do I have the right version of lapack installed? (setup.exe also offers 3.=
0-5) Is there a manual way of getting the loader to look in /usr/lib/lapac=
k? E.g. is there a Cygwin equivalent to the Linux program ldconfig? I tri=
ed setting LD_LIBRARY_PATH, and also installing symlinks from /c/Cygwin/bin=
like this:
vanzandt:/c/cygwin/bin $ ls -l cygla*
lrwxrwxrwx 1 jrv Domain Users 29 Jul 13 10:13 cyglapack.dll -> /usr/lib/lap=
ack/cyglapack.dll
I'd appreciate any suggestions.
- Jim Van Zandt
-----Original Message-----
From: Marco Atzeri [mailto:marco_atzeri AT yahoo DOT it]=20
Sent: Monday, July 13, 2009 1:05 AM
To: James R. Van Zandt
Cc: Van Zandt, Jim
Subject: Re: R: built-in variables
--- Dom 12/7/09, James R. Van Zandt ha scritto:
> Da: James R. Van Zandt=20
> Oggetto: Re: R: built-in variables
> A: "Marco Atzeri"=20
> Cc:=20
> Data: Domenica 12 luglio 2009, 23:51
>=20
> Marco -
>=20
...=20
> for the last several months, I have not been able
> to get
> Cygwin Octave to actually run.=A0 After I type "octave"
> at the bash
> prompt, there's a pause of a second or two, then another
> bash prompt.
> Even "octave --help" does nothing.=A0 This is with an
> rsync terminal
> running under XP.=A0 Let me know if I can supply any
> other information
> to help track this down.
>=20
> I've taken octave-maintainers off the list as this isn't a
> generic
> Octave problem.=A0 If there's a Cygwin list I should be
> using, please
> let me know about that too.
>=20
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 - Jim Van
> Zandt
>=20
Hi Jim,
for generic cygwin issue the cygwin at cygwin dot com is the
usual mailing list to report problem and ask for support.
See also:
http://cygwin.com/problems.html
=20
If octave don't start is a clear symptom of a missing library
try=20
$ cygcheck octave
you should have=20
$ cygcheck octave
Found: C:\cygwin2\bin\octave.exe
-> C:\cygwin2\bin\octave-3.2.0.exe
C:\cygwin2\bin\octave-3.2.0.exe
C:\cygwin2\bin\cygoctinterp.dll
C:\cygwin2\bin\cygcruft.dll
C:\cygwin2\lib\lapack\cygblas-0.dll
C:\cygwin2\bin\cygwin1.dll
C:\WINDOWS\system32\ADVAPI32.DLL
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\RPCRT4.dll
C:\WINDOWS\system32\Secur32.dll
C:\cygwin2\bin\cyggcc_s-1.dll
C:\cygwin2\lib\lapack\cyglapack-0.dll
C:\cygwin2\bin\cyggfortran-3.dll
C:\cygwin2\bin\cygstdc++-6.dll
C:\cygwin2\bin\cygoctave.dll
C:\cygwin2\bin\cygfftw3-3.dll
C:\cygwin2\bin\cygfftw3f-3.dll
C:\cygwin2\bin\cygqrupdate-0.dll
C:\cygwin2\bin\cygreadline6.dll
C:\cygwin2\bin\cygncurses-9.dll
C:\WINDOWS\system32\USER32.dll
C:\WINDOWS\system32\GDI32.dll
C:\cygwin2\bin\cygX11-6.dll
C:\cygwin2\bin\cygxcb-1.dll
C:\cygwin2\bin\cygXau-6.dll
C:\cygwin2\bin\cygXdmcp-6.dll
C:\cygwin2\bin\cyghdf5-0.dll
C:\cygwin2\bin\cygz.dll
otherwise missing libraries will be reported.
Please also note that=20
octave-3.2 has been built for cygwin-1.7, so
I assume you have a cygwin-1.7 installation in place.
If you check on the mailing list archive,=20
http://cygwin.com/ml/cygwin/
You will see that incomplete cygwin installation=20
is not an unusual problem.
Is octave the only application not working=20
for you ?
Regards
Marco
=20=20=20=20=20=20
--
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
- Raw text -