This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Package 'lapack' is not installing correctly using setup
- From: "Chloe" <starrychloe at oliveyou dot net>
- To: <cygwin at cygwin dot com>
- Date: Sat, 10 Mar 2012 14:04:32 -0500
- Subject: Package 'lapack' is not installing correctly using setup
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@dumbopc ~/lapack-3.4.0
$ pkg-config --modversion lapack
3.2.1
Chloe@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@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