Mail Archives: cygwin/2009/07/13/10:57:27
--- Lun 13/7/09, Van Zandt, Jim ha scritto:
> Da: Van Zandt, Jim=20
> Oggetto: octave 3.0 package
> A: "cygwin cygwin.com"=20
> Cc: "James R. Van Zandt" <jrvz comcast.net>
> Data: Luned=EC 13 luglio 2009, 16:25
> I have been unable to get Cygwin
> Octave to run:
>=20
> vanzandt:~ $ octave
> vanzandt:~ $
>=20
> Here's my version info:
>=20
> vanzandt:~ $ cygcheck -c -h cygwin
> Cygwin Package Information
> Package=A0 =A0 =A0 =A0 =A0 =A0 =A0
> Version=A0 =A0 =A0 =A0 Status
> cygwin=A0 =A0 =A0 =A0 =A0 =A0
> =A0=A0=A01.5.25-15=A0 =A0 =A0 OK
> vanzandt:~ $ cygcheck -c -h octave
> Cygwin Package Information
> Package=A0 =A0 =A0 =A0 =A0 =A0 =A0
> Version=A0 =A0 =A0 =A0 Status
> octave=A0 =A0 =A0 =A0 =A0 =A0
> =A0=A0=A03.0.3-1=A0 =A0 =A0 =A0 OK
>=20
> I see Octave 3.2 has been packaged for Cygwin 1.7, but
> apparently Cygwin 1.7 hasn't been released.=A0 I have
> certainly taken no special steps to get a prerelease
> version.=A0 Octave is the only Cygwin program I've
> noticed problems with, so I'm reluctant to go to a prelease
> version of Cygwin.=A0=20
>=20
> Apparently octave cannot find two shared libraries:
>=20
> 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
> =A0 C:\cygwin\bin\cygoctinterp.dll
> =A0 =A0 C:\cygwin\bin\cygcruft.dll
> Error: could not find cygblas.dll
> =A0 =A0 =A0 C:\cygwin\bin\cygwin1.dll
> =A0 =A0 =A0 =A0
> C:\WINDOWS\system32\ADVAPI32.DLL
> =A0 =A0 =A0 =A0 =A0
> C:\WINDOWS\system32\KERNEL32.dll
> =A0 =A0 =A0 =A0 =A0 =A0
> C:\WINDOWS\system32\ntdll.dll
> =A0 =A0 =A0 =A0 =A0
> C:\WINDOWS\system32\RPCRT4.dll
> =A0 =A0 =A0 =A0 =A0 =A0
> C:\WINDOWS\system32\Secur32.dll
> Error: could not find cyglapack.dll
> =A0 =A0 =A0 C:\cygwin\bin\cyggcc_s.dll
> =A0 =A0 C:\cygwin\bin\cygoctave.dll
> Error: could not find cygblas.dll
> =A0 =A0 =A0 C:\cygwin\bin\cygfftw3-3.dll
> Error: could not find cyglapack.dll
> =A0 =A0 =A0 C:\cygwin\bin\cygreadline6.dll
> =A0 =A0 =A0 =A0 C:\cygwin\bin\cygncurses-9.dll
> =A0 =A0 =A0 =A0 C:\WINDOWS\system32\USER32.dll
> =A0 =A0 =A0 =A0 =A0
> C:\WINDOWS\system32\GDI32.dll
> =A0 =A0 C:\cygwin\bin\cyghdf5-0.dll
> =A0 =A0 =A0 C:\cygwin\bin\cygz.dll
> =A0 =A0 =A0 C:\cygwin\bin\cyggcc_s-1.dll
>=20
> Those libraries actually are installed, as part of the
> lapack package:
>=20
> vanzandt:~ $ cygcheck -c lapack
> Cygwin Package Information
> Package=A0 =A0 =A0 =A0 =A0 =A0 =A0
> Version=A0 =A0 =A0 =A0 Status
> lapack=A0 =A0 =A0 =A0 =A0 =A0
> =A0=A0=A03.0-8=A0 =A0 =A0 =A0 =A0
> OK
> vanzandt:~ $ cygcheck -l lapack|grep cyglapack
> /usr/lib/lapack/cyglapack.dll
> vanzandt:~ $ ls -l /usr/lib/lapack/cyg*
> -rwxr-x---+ 1 jrv Users=A0 591360 Mar 24=A0 2006
> /usr/lib/lapack/cygblas.dll
> -rwxr-x---+ 1 jrv Users 5003776 Mar 24=A0 2006
> /usr/lib/lapack/cyglapack.dll
>=20
> I believe Cygwin is supposed to automatically ensure that
> the correct version of each shared library is installed and
> loaded, but it looks like some part of that has broken
> down.=A0=20
Hi Jim,
the lapack libraries have a not standard location in
/usr/lib/lapack/
to allow anyone to install Atlas libraries with the same name=20
in the standard=20
/usr/bin=20
and avoid a collision.
For this reason there are two shell startup files
/etc/profile.d/lapack.csh
/etc/profile.d/lapack.sh
to add /usr/lib/lapack/ at the end of the search path.
I suspect you have a redefinition of the PATH variable
in your own shell startup files that does not include
/usr/lib/lapack/
Could you add that and try again ?
>=20
> Do I have the right version of lapack installed?=A0
> (setup.exe also offers 3.0-5)=A0 Is there a manual way of
> getting the loader to look in /usr/lib/lapack?=A0 E.g. is
> there a Cygwin equivalent to the Linux program
> ldconfig?=A0 I tried setting LD_LIBRARY_PATH, and also
> installing symlinks from /c/Cygwin/bin like this:
The best way is to define the PATH to include /usr/lib/lapack.
For cygwin 1-5 the last version is octave 3.0.3-1,=20
3.0-5 is a old version.
Cygwin-1.7 should go live in two weeks and it has=20
octave-3.2.0-2 but the octave package works in exactly=20
the same way so you will have the same PATH problem.
>=20
> vanzandt:/c/cygwin/bin $ ls -l cygla*
> lrwxrwxrwx 1 jrv Domain Users 29 Jul 13 10:13 cyglapack.dll
> -> /usr/lib/lapack/cyglapack.dll
>=20
> I'd appreciate any suggestions.
>=20
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 - Jim Van
> Zandt
>=20
>=20
Regards
Marco
__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto =
spazio gratuito per i tuoi file e i messaggi=20
http://mail.yahoo.it
--
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 -