Here is what it says:

## --------------------------------------------------------- ##
## Checking whether SageMath should install SPKG openblas... ##
## --------------------------------------------------------- ##
configure:18813: checking whether any of gfortran is installed as or will 
be installed as SPKG
configure:18823: result: no
configure:18837: checking for openblas >= 0.2.20 openblas < 0.3.99
configure:18844: $PKG_CONFIG --exists --print-errors "openblas >= 0.2.20 
openblas < 0.3.99"
configure:18847: $? = 0
configure:18861: $PKG_CONFIG --exists --print-errors "openblas >= 0.2.20 
openblas < 0.3.99"
configure:18864: $? = 0
configure:19860: result: yes
configure:19869: $PKG_CONFIG --exists --print-errors "openblas"
configure:19872: $? = 0
configure:19892: checking for cblas_dgemm
configure:19892: g++ -std=gnu++11 -std=gnu++11 -o conftest    conftest.cpp 
-L/usr/local/Cellar/openblas/0.3.28/lib -lopenblas -lbz2 -lm  >&5
ld: warning: ignoring file 
'/usr/local/Cellar/openblas/0.3.28/lib/libopenblasp-r0.3.28.dylib': found 
architecture 'x86_64', required architecture 'arm64'
Undefined symbols for architecture arm64:
  "_cblas_dgemm", referenced from:
      _main in conftest-52566f.o
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see 
invocation)
configure:19892: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Sage"
| #define PACKAGE_TARNAME "sage"
| #define PACKAGE_VERSION "10.4"
| #define PACKAGE_STRING "Sage 10.4"
| #define PACKAGE_BUGREPORT "sage-devel@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "sage"
| #define VERSION "10.4"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_LIBM 1
| #define HAVE_CXX11 1
| #define HAVE_BOOST /**/
| /* end confdefs.h.  */
| /* Define cblas_dgemm to an innocuous variant, in case <limits.h> 
declares cblas_dgemm.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define cblas_dgemm innocuous_cblas_dgemm
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char cblas_dgemm (void); below.  */
| 
| #include <limits.h>
| #undef cblas_dgemm
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char cblas_dgemm (void);
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_cblas_dgemm || defined __stub___cblas_dgemm
| choke me
| #endif
| 
| int
| main (void)
| {
| return cblas_dgemm ();
|   ;
|   return 0;
| }
configure:19892: result: no
configure:19900: checking for cblas
configure:19907: $PKG_CONFIG --exists --print-errors "cblas"
Package cblas was not found in the pkg-config search path.
Perhaps you should add the directory containing `cblas.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cblas' found
configure:19910: $? = 1
configure:19924: $PKG_CONFIG --exists --print-errors "cblas"
Package cblas was not found in the pkg-config search path.
Perhaps you should add the directory containing `cblas.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cblas' found
configure:19927: $? = 1
configure:19941: result: no
No package 'cblas' found
configure:19973: checking for dgeqrf
configure:19973: g++ -std=gnu++11 -std=gnu++11 -o conftest    conftest.cpp 
-L/usr/local/Cellar/openblas/0.3.28/lib -lopenblas -lbz2 -lm  >&5
ld: warning: ignoring file 
'/usr/local/Cellar/openblas/0.3.28/lib/libopenblasp-r0.3.28.dylib': found 
architecture 'x86_64', required architecture 'arm64'
Undefined symbols for architecture arm64:
  "_dgeqrf", referenced from:
      _main in conftest-ad45a9.o
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see 
invocation)
configure:19973: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Sage"
| #define PACKAGE_TARNAME "sage"
| #define PACKAGE_VERSION "10.4"
| #define PACKAGE_STRING "Sage 10.4"
| #define PACKAGE_BUGREPORT "sage-devel@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "sage"
| #define VERSION "10.4"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_LIBM 1
| #define HAVE_CXX11 1
| #define HAVE_BOOST /**/
| /* end confdefs.h.  */
| /* Define dgeqrf to an innocuous variant, in case <limits.h> declares 
dgeqrf.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define dgeqrf innocuous_dgeqrf
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char dgeqrf (void); below.  */
| 
| #include <limits.h>
| #undef dgeqrf
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dgeqrf (void);
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_dgeqrf || defined __stub___dgeqrf
| choke me
| #endif
| 
| int
| main (void)
| {
| return dgeqrf ();
|   ;
|   return 0;
| }
configure:19973: result: no
configure:19980: checking for dgeqrf_
configure:19980: g++ -std=gnu++11 -std=gnu++11 -o conftest    conftest.cpp 
-L/usr/local/Cellar/openblas/0.3.28/lib -lopenblas -lbz2 -lm  >&5
ld: warning: ignoring file 
'/usr/local/Cellar/openblas/0.3.28/lib/libopenblasp-r0.3.28.dylib': found 
architecture 'x86_64', required architecture 'arm64'
Undefined symbols for architecture arm64:
  "_dgeqrf_", referenced from:
      _main in conftest-5fb3a3.o
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see 
invocation)
configure:19980: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Sage"
| #define PACKAGE_TARNAME "sage"
| #define PACKAGE_VERSION "10.4"
| #define PACKAGE_STRING "Sage 10.4"
| #define PACKAGE_BUGREPORT "sage-devel@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "sage"
| #define VERSION "10.4"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_LIBM 1
| #define HAVE_CXX11 1
| #define HAVE_BOOST /**/
| /* end confdefs.h.  */
| /* Define dgeqrf_ to an innocuous variant, in case <limits.h> declares 
dgeqrf_.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define dgeqrf_ innocuous_dgeqrf_
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char dgeqrf_ (void); below.  */
| 
| #include <limits.h>
| #undef dgeqrf_
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dgeqrf_ (void);
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_dgeqrf_ || defined __stub___dgeqrf_
| choke me
| #endif
| 
| int
| main (void)
| {
| return dgeqrf_ ();
|   ;
|   return 0;
| }
configure:19980: result: no
configure:19987: checking for DGEQRF
configure:19987: g++ -std=gnu++11 -std=gnu++11 -o conftest    conftest.cpp 
-L/usr/local/Cellar/openblas/0.3.28/lib -lopenblas -lbz2 -lm  >&5
ld: warning: ignoring file 
'/usr/local/Cellar/openblas/0.3.28/lib/libopenblasp-r0.3.28.dylib': found 
architecture 'x86_64', required architecture 'arm64'
Undefined symbols for architecture arm64:
  "_DGEQRF", referenced from:
      _main in conftest-e93135.o
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see 
invocation)
configure:19987: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Sage"
| #define PACKAGE_TARNAME "sage"
| #define PACKAGE_VERSION "10.4"
| #define PACKAGE_STRING "Sage 10.4"
| #define PACKAGE_BUGREPORT "sage-devel@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "sage"
| #define VERSION "10.4"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_LIBM 1
| #define HAVE_CXX11 1
| #define HAVE_BOOST /**/
| /* end confdefs.h.  */
| /* Define DGEQRF to an innocuous variant, in case <limits.h> declares 
DGEQRF.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define DGEQRF innocuous_DGEQRF
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char DGEQRF (void); below.  */
| 
| #include <limits.h>
| #undef DGEQRF
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char DGEQRF (void);
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_DGEQRF || defined __stub___DGEQRF
| choke me
| #endif
| 
| int
| main (void)
| {
| return DGEQRF ();
|   ;
|   return 0;
| }
configure:19987: result: no
configure:19994: checking for DGEQRF_
configure:19994: g++ -std=gnu++11 -std=gnu++11 -o conftest    conftest.cpp 
-L/usr/local/Cellar/openblas/0.3.28/lib -lopenblas -lbz2 -lm  >&5
ld: warning: ignoring file 
'/usr/local/Cellar/openblas/0.3.28/lib/libopenblasp-r0.3.28.dylib': found 
architecture 'x86_64', required architecture 'arm64'
Undefined symbols for architecture arm64:
  "_DGEQRF_", referenced from:
      _main in conftest-c3768d.o
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see 
invocation)
configure:19994: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Sage"
| #define PACKAGE_TARNAME "sage"
| #define PACKAGE_VERSION "10.4"
| #define PACKAGE_STRING "Sage 10.4"
| #define PACKAGE_BUGREPORT "sage-devel@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "sage"
| #define VERSION "10.4"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_LIBM 1
| #define HAVE_CXX11 1
| #define HAVE_BOOST /**/
| /* end confdefs.h.  */
| /* Define DGEQRF_ to an innocuous variant, in case <limits.h> declares 
DGEQRF_.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define DGEQRF_ innocuous_DGEQRF_
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char DGEQRF_ (void); below.  */
| 
| #include <limits.h>
| #undef DGEQRF_
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char DGEQRF_ (void);
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_DGEQRF_ || defined __stub___DGEQRF_
| choke me
| #endif
| 
| int
| main (void)
| {
| return DGEQRF_ ();
|   ;
|   return 0;
| }
configure:19994: result: no
configure:20009: checking for lapack
configure:20016: $PKG_CONFIG --exists --print-errors "lapack"
Package lapack was not found in the pkg-config search path.
Perhaps you should add the directory containing `lapack.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lapack' found
configure:20019: $? = 1
configure:20033: $PKG_CONFIG --exists --print-errors "lapack"
Package lapack was not found in the pkg-config search path.
Perhaps you should add the directory containing `lapack.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lapack' found
configure:20036: $? = 1
configure:20050: result: no
No package 'lapack' found
configure:20190: no suitable system package found for SPKG openblas

On Wednesday, September 25, 2024 at 8:05:10 PM UTC-7 Kwankyu Lee wrote:

> On Thursday, September 26, 2024 at 8:49:24 AM UTC+9 anne1.s...@gmail.com 
> wrote:
>
> Hi Dima,
>
> Yes, I have openblas installed via brew and just reinstalled it again and 
> get the same error message.
>
>
> If you get the same error message, then it means that Sage is not using 
> hombrew openblas. What does "openblas" part of ./configure log messages say?
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/69096caf-639a-4309-9cbe-7a263271873cn%40googlegroups.com.

Reply via email to