| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=0.5 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,TW_LG,TW_RW,TW_WX |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <CF0BD940EB8742DEA3364F5E93733B55@dumbopc> |
| From: | "Chloe" <starrychloe AT oliveyou DOT net> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | Package 'lapack' is not installing correctly using setup |
| Date: | Sat, 10 Mar 2012 14:04:32 -0500 |
| 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 |
After installing lapack and trying to build gretl, it fails one of the tests
and things lapack is not installed. (Ignore the lapack-3.4.0 path - I
attempted to work around the problem with the latest version.)
This show lapack installed
---------------------------
Chloe AT dumbopc ~/lapack-3.4.0
$ pkg-config --modversion lapack
3.2.1
Chloe AT dumbopc ~/lapack-3.4.0
$ cat /usr/lib/pkgconfig/lapack.pc
prefix=/usr
exec_prefix=/usr
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: lapack
Description: Linear Algebra PACKage FORTRAN 77 reference implementation
Version: 3.2.1
Requires: blas
URL: http://www.netlib.org/lapack/
Libs: -llapack
Chloe AT dumbopc ~/lapack-3.4.0
$ cat /usr/lib/pkgconfig/blas.pc
prefix=/usr
exec_prefix=/usr
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: lapack
Description: Basic Linear Algebra Subprograms F77 reference implementations
Version: 3.2.1
URL: http://www.netlib.org/blas
Libs: -lblas
Libs.private: -lm
---------------------------------------
This is the error message in the log when trying to configure for gretl.
-----------------------------------------------------------
configure:16010: checking for LAPACK
configure:16044: gcc -o conftest.exe -I./lib/src -g -O2
conftest.c -L/usr/lib -llapack -lblas -lgfortran -lc -lc -lm >&5
configure:16044: $? = 0
configure:16044: ./conftest.exe
/home/Chloe/gretl-1.9.7/conftest.exe: error while loading shared libraries:
cyglapack-0.dll: cannot open shared object file: No such file or directory
configure:16044: $? = 127
configure: program exited with status 127
-----------------------------------------------------------
List of lapack libraries
--------------------------
$ ls -l /usr/lib/*lapack*
-rwxr-xr-x 1 Chloe None 4193294 Mar 29 2011 /usr/lib/cyglapack-0.dll
-rw-r--r-- 1 Chloe root 13256970 Mar 29 2011 /usr/lib/liblapack.a
-rwxr-xr-x 1 Chloe root 868430 Mar 29 2011 /usr/lib/liblapack.dll.a
-rwxr-xr-x 1 Chloe root 927 Mar 29 2011 /usr/lib/liblapack.la
/usr/lib/lapack:
total 4488
-rwxr-xr-x 1 Chloe root 400910 Mar 29 2011 cygblas-0.dll
-rwxr-xr-x 1 Chloe root 4193294 Mar 29 2011 cyglapack-0.dll
--------------------------
Version
--------
$ uname -a
CYGWIN_NT-5.1 dumbopc 1.7.11(0.260/5/3) 2012-02-24 14:05 i686 Cygwin
--------
To reproduce, build gretl: http://gretl.sourceforge.net/
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |