cblas library missing in liblapack-devel

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

cblas library missing in liblapack-devel

Falk Tannhäuser
The package liblapack-devel (LAPACK library for linear algebra operations, see
https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fliblapack-devel%2Fliblapack-devel-3.8.0-1&grep=cblas)
contains the header file usr/include/cblas.h (among others), library files as usr/lib/libblas.a, usr/lib/liblapack.a etc. as well as the file
usr/lib/pkgconfig/cblas.pc . The command `pkg-config --libs cblas` returns "-lcblas". However, no library file libcblas.a is present, causing
building of some software packages depending on this library to fail.
On the other hand, the Win64 toolchain package mingw64-x86_64-cblas (see
https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fmingw64-x86_64-cblas%2Fmingw64-x86_64-cblas-3.7.0-1&grep=cblas) does comport the
library usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcblas.dll.a .
Am I missing something during Cygwin installation?

Falk

--
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

Reply | Threaded
Open this post in threaded view
|

Re: cblas library missing in liblapack-devel

cyg Simple
On 11/1/2018 3:54 PM, Falk Tannhäuser wrote:

> The package liblapack-devel (LAPACK library for linear algebra
> operations, see
> https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fliblapack-devel%2Fliblapack-devel-3.8.0-1&grep=cblas)
>
> contains the header file usr/include/cblas.h (among others), library
> files as usr/lib/libblas.a, usr/lib/liblapack.a etc. as well as the file
> usr/lib/pkgconfig/cblas.pc . The command `pkg-config --libs cblas`
> returns "-lcblas". However, no library file libcblas.a is present, causing
> building of some software packages depending on this library to fail.
> On the other hand, the Win64 toolchain package mingw64-x86_64-cblas (see
> https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fmingw64-x86_64-cblas%2Fmingw64-x86_64-cblas-3.7.0-1&grep=cblas)
> does comport the library
> usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcblas.dll.a .
> Am I missing something during Cygwin installation?

Looks like a lapack-devel packaging issue.

--
cyg Simple

--
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

Reply | Threaded
Open this post in threaded view
|

Re: cblas library missing in liblapack-devel

marco atzeri-4
In reply to this post by Falk Tannhäuser
Am 01.11.2018 um 20:54 schrieb Falk Tannhäuser:
> The package liblapack-devel (LAPACK library for linear algebra
> operations, see
> https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fliblapack-devel%2Fliblapack-devel-3.8.0-1&grep=cblas)
>
> contains the header file usr/include/cblas.h (among others), library
> files as usr/lib/libblas.a, usr/lib/liblapack.a etc. as well as the file
> usr/lib/pkgconfig/cblas.pc . The command `pkg-config --libs cblas`
> returns "-lcblas". However, no library file libcblas.a is present, causing
> building of some software packages depending on this library to fail.

for historical cygwin package reason cblas is merged with blas,
they are both inside

/usr/lib/libblas.a
/usr/lib/libblas.dll.a

It seems I forgot to amend the cblas.pc to return "-lblas" when
it was added to the lapack package.

> Am I missing something during Cygwin installation?
>
> Falk

I will amend at next release, as workaround you can
modify usr/lib/pkgconfig/cblas.pc manually

Regards
Marco


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
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