www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/13/10:25:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_64
X-Spam-Check-By: sourceware.org
From: "Van Zandt, Jim" <jrv AT mitre DOT org>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
CC: "James R. Van Zandt" <jrvz AT comcast DOT net>
Date: Mon, 13 Jul 2009 10:25:27 -0400
Subject: octave 3.0 package
Message-ID: <3FF9F74E63A7484EB3B88F04329CBEDC018BB805DD@IMCMBX1.MITRE.ORG>
References: <E1MQ6x1-0007Yw-00 AT vanzandt DOT comcast DOT net> <226540 DOT 15166 DOT qm AT web25004 DOT mail DOT ukl DOT yahoo DOT com>
In-Reply-To: <226540.15166.qm@web25004.mail.ukl.yahoo.com>
x-cr-hashedpuzzle: xhY= ArIV CMXP CetW CvQc DaQE H7wo H/ML LNtL Lqfb MvPX OONT PM0A Pwx3 RMIp R6/X;2;YwB5AGcAdwBpAG4AQABjAHkAZwB3AGkAbgAuAGMAbwBtADsAagByAHYAegBAAGMAbwBtAGMAYQBzAHQALgBuAGUAdAA=;Sosha1_v1;7;{32DD46A9-D218-4488-9D0D-BAB3E55BFD87};agByAHYAQABtAGkAdAByAGUALgBvAHIAZwA=;Mon, 13 Jul 2009 14:25:27 GMT;bwBjAHQAYQB2AGUAIAAzAC4AMAAgAHAAYQBjAGsAYQBnAGUA
x-cr-puzzleid: {32DD46A9-D218-4488-9D0D-BAB3E55BFD87}
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019