X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_GL,TW_XC,TW_YG,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 18 Apr 2011 21:46:27 +0200 Message-ID: Subject: Re: Shared library error when invoking 'octave' From: marco atzeri To: cygwin AT cygwin DOT com 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 On Mon, Apr 18, 2011 at 5:35 PM, Paul Cantalupo wrote: > Hello, > > When I invoked 'octave', I got the following error: > > /usr/bin/octave-3.4.0.exe: error while loading shared libraries: ?: > cannot open shared object file: No such file or directory > > > So I did a cygcheck and got this: > > (3866) sirius-pipas:~ $ cygcheck octave-3.4.0.exe > Found: C:\cygwin\bin\octave-3.4.0.exe > Found: C:\cygwin\bin\octave-3.4.0.exe > C:\cygwin\bin\octave-3.4.0.exe > =A0C:\cygwin\bin\cygoctinterp-3-4-0.dll > =A0 =A0C:\cygwin\bin\cygoctave-3-4-0.dll > =A0 =A0 =A0C:\cygwin\bin\cygcruft-3-4-0.dll > =A0 =A0 =A0 =A0C:\cygwin\bin\cyggcc_s-1.dll > =A0 =A0 =A0 =A0 =A0C:\cygwin\bin\cygwin1.dll > =A0 =A0 =A0 =A0 =A0 =A0C:\WINDOWS\system32\ADVAPI32.DLL > =A0 =A0 =A0 =A0 =A0 =A0 =A0C:\WINDOWS\system32\KERNEL32.dll > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0C:\WINDOWS\system32\ntdll.dll > =A0 =A0 =A0 =A0 =A0 =A0 =A0C:\WINDOWS\system32\RPCRT4.dll > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0C:\WINDOWS\system32\Secur32.dll > =A0 =A0 =A0 =A0C:\cygwin\bin\cyggfortran-3.dll > =A0 =A0 =A0 =A0C:\cygwin\bin\cygstdc++-6.dll > =A0 =A0 =A0C:\cygwin\bin\cygreadline7.dll > =A0 =A0 =A0 =A0C:\cygwin\bin\cygncursesw-10.dll > =A0 =A0 =A0 =A0C:\WINDOWS\system32\USER32.dll > =A0 =A0 =A0 =A0 =A0C:\WINDOWS\system32\GDI32.dll > =A0 =A0 =A0C:\cygwin\bin\cygfftw3-3.dll > =A0 =A0 =A0C:\cygwin\bin\cygfftw3f-3.dll > =A0 =A0 =A0C:\cygwin\bin\cygqrupdate-0.dll > =A0 =A0C:\cygwin\bin\cygGL-1.dll > =A0 =A0 =A0C:\cygwin\bin\cygX11-xcb-1.dll > =A0 =A0 =A0C:\cygwin\bin\cygX11-6.dll > =A0 =A0 =A0 =A0C:\cygwin\bin\cygxcb-1.dll > =A0 =A0 =A0 =A0 =A0C:\cygwin\bin\cygXau-6.dll > =A0 =A0 =A0 =A0 =A0C:\cygwin\bin\cygXdmcp-6.dll > =A0 =A0 =A0C:\cygwin\bin\cygXext-6.dll > =A0 =A0 =A0C:\cygwin\bin\cygxcb-glx-0.dll > =A0 =A0C:\cygwin\bin\cygGLU-1.dll > =A0 =A0C:\cygwin\bin\cygz.dll > =A0 =A0C:\cygwin\bin\cygfontconfig-1.dll > =A0 =A0 =A0C:\cygwin\bin\cygexpat-1.dll > =A0 =A0 =A0C:\cygwin\bin\cygfreetype-6.dll > =A0 =A0 =A0C:\cygwin\bin\cygiconv-2.dll > =A0 =A0C:\cygwin\bin\cyghdf5-6.dll > cygcheck: track_down: could not find cygblas-0.dll > cygcheck: track_down: could not find cyglapack-0.dll > cygcheck: track_down: could not find cygblas-0.dll > cygcheck: track_down: could not find cyglapack-0.dll > cygcheck: track_down: could not find cygblas-0.dll > cygcheck: track_down: could not find cyglapack-0.dll > cygcheck: track_down: could not find cyglapack-0.dll cyglapack-0.dll and cygblas-0.dll are not on your path. I guess you redefined the PATH by yourself removing /usr/lib/lapack that the two scripts in /etc/profile.d are supposed to define. $ cygcheck -l liblapack0 /etc/profile.d/lapack0.csh /etc/profile.d/lapack0.sh /usr/lib/lapack/cygblas-0.dll /usr/lib/lapack/cyglapack-0.dll > > Seems I am missing some .dll files. What is the best way to fix this? > > Thank you, > > Paul > -- 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