Skip to content

Installation on Ubuntu 22.04.5 LTS #54

@Sudheert7

Description

@Sudheert7

Installing tensor on Ubuntu 22.04.5 LTS

 sudo pecl install tensor 

Error:

tmp/pear/temp/tensor/ext/include/linear_algebra.c:7:10: fatal error: lapacke.h: No such file or directory
    7 | #include <lapacke.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:346: include/linear_algebra.lo] Error 1
include/.libs/settings.o   -lopenblas -llapacke -lgfortran  -g -O2   -Wl,-soname -Wl,tensor.so -o .libs/tensor.so
/usr/bin/ld: cannot find -lopenblas: No such file or directory
/usr/bin/ld: cannot find -lgfortran: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:357: tensor.la] Error 1
ERROR: `make' failed

Installed Required Dependencies:

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