updated doc with instructions for C runtime for ubuntu and fedora

This commit is contained in:
Inari Listenmaa
2021-07-14 16:44:44 +08:00
parent 06e0a986d1
commit a1594e6a69

View File

@@ -394,13 +394,15 @@ extra-lib-dirs:
```
First you will need to install the following libraries if not already installed:
autoconf, automake, libtool, make
On Ubuntu ``apt-get install autotools-dev``
On Fedora ``dnf install autoconf automake libtool``
```
apt-get install
```
and then run ``stack install``, also from the top directory.
If you get an error ``error while loading shared libraries`` when trying to run gf with C runtime, remember to declare your LD_LIBRARY_PATH. Add ``export LD_LIBRARY_PATH="/usr/local/lib"`` to either your .bashrc or .profile. You should now be able to start GF with C runtime.
=== 3. Use GF server mode with C runtime ===