Skip to content

Commit

Permalink
Add fix for pynacl to "Setting up and running Launchpad"
Browse files Browse the repository at this point in the history
* doc: update running launchpad how-to with pynacl fix for arm64
  • Loading branch information
ikoruk committed Jul 26, 2024
1 parent f238c1f commit 9d9cb1e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions how-to/running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ Finally, build the database schema (this may take several minutes):
$ make schema
If you get an error while building ``pynacl`` under an ``arm64`` architecture, see :ref:`building-on-arm`.
Running
=======
Expand Down Expand Up @@ -417,6 +419,23 @@ the bridge interface on your computer):
sudo ufw allow in on lxdbr0
sudo ufw route allow in on lxdbr0
.. _building-on-arm:
Building on ARM
---------------
When running ``make schema``, installing ``pynacl`` can run into `a bug <https://github.com/pyca/pynacl/issues/553>`_ when building within a virtualized environment on ``arm64`` architecture, leading to ``ERROR: Failed building wheel for pynacl``.
The following needs to be run when having this issue:
.. code-block:: shell-session
$ sudo apt install --yes libsodium-dev
$ source env/bin/activate
$ SODIUM_INSTALL=system pip install --no-binary :all: pynacl
Then run `make schema` again.
Email
-----
Expand Down

0 comments on commit 9d9cb1e

Please sign in to comment.