# Install dolfin with basix in Arch from source with PKGBUILD

**URL:** <https://fenicsproject.discourse.group/t/install-dolfin-with-basix-in-arch-from-source-with-pkgbuild/6466>\
**Category:** installation\
**Created:** [August 30, 2021, 5:29am UTC](https://fenicsproject.discourse.group/t/install-dolfin-with-basix-in-arch-from-source-with-pkgbuild/6466 "2021-08-30T05:29:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![edgar](https://avatars.discourse-cdn.com/v4/letter/e/b487fb/32.png) [@edgar](https://fenicsproject.discourse.group/u/edgar)\
**Post date:** [August 30, 2021, 11:59pm UTC](https://fenicsproject.discourse.group/t/install-dolfin-with-basix-in-arch-from-source-with-pkgbuild/6466/2 "2021-08-30T23:59:33Z")

</div>

I got it to work! CBLAS is not being included with `find_package(BLAS REQUIRED)` in the `basix/cpp/CMakeLists.txt` file.

To fix that, I found my answer [here](https://github.com/davisking/dlib/issues/154#issuecomment-240651490): I added

```auto
set(BLAS_LIBRARIES "-lcblas;-lblas")

```

above `target_link_libraries(basix PRIVATE ${BLAS_LIBRARIES})`

After installing the package, I renamed `basix/test/test_numba.py`, and all tests passed.

---

_[View the full topic](https://fenicsproject.discourse.group/t/install-dolfin-with-basix-in-arch-from-source-with-pkgbuild/6466)._
