Skip to content

Commit

Permalink
build: An additional command is required to apply the changes to the …
Browse files Browse the repository at this point in the history
…ld file.
  • Loading branch information
florentfgrs committed Sep 5, 2024
1 parent 1b8ec4c commit 6a2b489
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions build.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The build includes can be found here: `/home/foo/SFCGAL/build/src`

## PySFCGAL

Build the python module
### Build the python module

To start you have to clone and place yourself in [pysfcgal](https://gitlab.com/sfcgal/pysfcgal).

Expand All @@ -66,16 +66,16 @@ env CFLAGS=-I/home/foo/SFCGAL/build/include LDFLAGS=-L/home/foo/SFCGAL/build/src
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/foo/SFCGAL/build/src
```

### Add the environment to the system (valid only on Debian/Ubuntu)
### Add the build source link of SFCGAL into the ld file (on Debian/Ubuntu)

Create the following file

```shell
touch /etc/ld.so.conf.d/sfcgal.conf
echo "/home/foo/SFCGAL/build/src" >> /etc/ld.so.conf.d/sfcgal.conf
```

Then add in this file the link to the sources of the SFCGAL build
### Run this command to apply the changes

```text
/home/foo/SFCGAL/build/src
```
```shell
sudo ldconfig
```

0 comments on commit 6a2b489

Please sign in to comment.