Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install Tensor extension dependencies on Linux #23

Closed
bounmed opened this issue Apr 10, 2021 · 2 comments
Closed

How to install Tensor extension dependencies on Linux #23

bounmed opened this issue Apr 10, 2021 · 2 comments
Labels
not an issue This doesn't seem right

Comments

@bounmed
Copy link

bounmed commented Apr 10, 2021

I got three errors when trying to install the tensor package using pecl.
Error 1:
/tmp/pear/temp/tensor/ext/tensor.c:25:10: fatal error: cblas.h: No such file or directory
Error 2:
/tmp/pear/temp/tensor/ext/include/linear_algebra.c:7:10: fatal error: lapacke.h: No such file or directory
Error 3:

/usr/bin/ld: cannot find -lgfortran
collect2: error: ld returned 1 exit status

The solution is to install libopenblas, libraries and gfortran.

apt-get install libopenblas-dev
apt-get install liblapacke-dev
apt-get install gfortran
@andrewdalpino
Copy link
Member

andrewdalpino commented Apr 13, 2021

Thank you but we already have instructions to install Tensor extension dependencies in the README!

@andrewdalpino andrewdalpino added the not an issue This doesn't seem right label Apr 13, 2021
@andrewdalpino andrewdalpino changed the title Compilation errors on debian 10.7 How to install Tensor extension dependencies on Ubuntu? Apr 13, 2021
@andrewdalpino andrewdalpino changed the title How to install Tensor extension dependencies on Ubuntu? How to install Tensor extension dependencies on Linux? Apr 13, 2021
@andrewdalpino andrewdalpino changed the title How to install Tensor extension dependencies on Linux? How to install Tensor extension dependencies on Linux Apr 13, 2021
@stillartem
Copy link

@bounmed thank you, your solution have helped me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not an issue This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants