X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,J_CHICKENPOX_64 X-Spam-Check-By: sourceware.org Message-ID: <748045.50669.qm@web25004.mail.ukl.yahoo.com> Date: Mon, 13 Jul 2009 07:57:07 -0700 (PDT) From: Marco Atzeri Subject: R: octave 3.0 package To: "cygwin AT cygwin DOT com" , JimVan Zandt Cc: "James R. Van Zandt" In-Reply-To: <3FF9F74E63A7484EB3B88F04329CBEDC018BB805DD@IMCMBX1.MITRE.ORG> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --- 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" > 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