diff options
-rw-r--r-- | README.md | 9 | ||||
-rwxr-xr-x | scripts/openscad-unirun.sh | 4 |
2 files changed, 12 insertions, 1 deletions
@@ -174,7 +174,14 @@ check dependencies source ./scripts/setenv-unibuild.sh ./scripts/check-dependencies.sh -Then follow the Compilation instructions below. +Then follow the Compilation instructions below. + +Note that if you build dependencies with this method, you may have to +modify your LD_LIBRARY_PATH environment variable every time you run the +openscad binary to avoid library problems. A workaround script called +"openscad-unirun.sh" has been included to solve this: copy it somewhere +in your PATH (/usr/local/bin) and run 'openscad-unirun.sh' instead of +the openscad binary. ### Building for Windows diff --git a/scripts/openscad-unirun.sh b/scripts/openscad-unirun.sh new file mode 100755 index 0000000..b0836eb --- /dev/null +++ b/scripts/openscad-unirun.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +LD_LIBRARY_PATH=$HOME/openscad_deps/lib:$HOME/openscad_deps/lib64:$LD_LIBRARY_PATH openscad + |