public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cblas library missing in liblapack-devel
@ 2018-11-01 19:54 Falk Tannhäuser
  2018-11-01 20:20 ` cyg Simple
  2018-11-01 21:09 ` Marco Atzeri
  0 siblings, 2 replies; 3+ messages in thread
From: Falk Tannhäuser @ 2018-11-01 19:54 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cblas library missing in liblapack-devel
  2018-11-01 19:54 cblas library missing in liblapack-devel Falk Tannhäuser
@ 2018-11-01 20:20 ` cyg Simple
  2018-11-01 21:09 ` Marco Atzeri
  1 sibling, 0 replies; 3+ messages in thread
From: cyg Simple @ 2018-11-01 20:20 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cblas library missing in liblapack-devel
  2018-11-01 19:54 cblas library missing in liblapack-devel Falk Tannhäuser
  2018-11-01 20:20 ` cyg Simple
@ 2018-11-01 21:09 ` Marco Atzeri
  1 sibling, 0 replies; 3+ messages in thread
From: Marco Atzeri @ 2018-11-01 21:09 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-01 21:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-01 19:54 cblas library missing in liblapack-devel Falk Tannhäuser
2018-11-01 20:20 ` cyg Simple
2018-11-01 21:09 ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).