Skip to content

Can't get it working with OpenBLAS on Arch linux #30

@achjaj

Description

@achjaj

On my Arch linux system, I have two BLAS implementations installed: cblas (3.11.0-1) and openblas (0.3.21-1).
I can build my project when I put "lflags": ["-lcblas"] into my dub.json file. But if I replace it with
"lflags": ["-lopenblas"] I got linker error: undefined reference to 'cblas_snrm2'. This is expected as libopenblas.so does not have cblas_snrm2 symbol, instead it have snrm2 symbol.

So how can I link my project against OpenBLAS?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions