8000 numpy.distutils tries to compile without using the supplied LDFLAGS · Issue #7779 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
numpy.distutils tries to compile without using the supplied LDFLAGS #7779
Closed
@yurivict

Description

@yurivict

While running the 'configure' step for pysparse (https://github.com/PythonOptimizers/pysparse), numpy fails to compile a C file because it ignores the supplied LDFLAGS:

lapack_opt_info:
openblas_lapack_info:
C compiler: cc

creating /tmp/tmpVXRmTq/tmp
creating /tmp/tmpVXRmTq/tmp/tmpVXRmTq
compile options: '-c'
cc: /tmp/tmpVXRmTq/source.c
/tmp/tmpVXRmTq/source.c:4:13: warning: implicit declaration of function 'zungqr_' is invalid in C99 [-Wimplicit-function-declaration]
            zungqr_();
            ^
1 warning generated.
cc /tmp/tmpVXRmTq/tmp/tmpVXRmTq/source.o -L/usr/local/lib -lopenblas -o /tmp/tmpVXRmTq/a.out
//usr/local/lib/gcc48/libgfortran.so.3: undefined reference to `__multf3@GCC_4.6.0'
//usr/local/lib/gcc48/libgfortran.so.3: undefined reference to `__subtf3@GCC_4.6.0'
//usr/local/lib/gcc48/libgfortran.so.3: undefined reference to `__unordtf2@GCC_4.6.0'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0