Package 'lapack' is not installing correctly using setup
marco atzeri
marco.atzeri@gmail.com
Sat Mar 10 21:33:00 GMT 2012
On 3/10/2012 8:04 PM, Chloe wrote:
> 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.)
[cut]
> 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/
>>
Not able to reproduce
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
configure:16044: $? = 0
configure:16057: result: yes
questions:
- was previous version 3.2.2-2 working ?
- what is the PATH ?
PATH: /home/marco/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/lib/lapack
I suspect you redefined the path and the
/etc/profile.d/lapack0.csh
/etc/profile.d/lapack0.sh
scripts are not effective.
Regards
Marco
--
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
More information about the Cygwin
mailing list