diff options
| author | Gert-Jan Timmer <gjr.timmer@gmail.com> | 2018-05-26 21:15:37 +0200 |
|---|---|---|
| committer | Gert-Jan Timmer <gjr.timmer@gmail.com> | 2018-05-26 21:15:37 +0200 |
| commit | 3526997453e7a080a9f822ac9bd7e81f542fb9f5 (patch) | |
| tree | 1afb5dbd1bde4a7cc7898807084380fbb00ad07a /README.md | |
| parent | Relocated FAQ item to usage subsection of Features (diff) | |
| download | golite-3526997453e7a080a9f822ac9bd7e81f542fb9f5.tar.gz golite-3526997453e7a080a9f822ac9bd7e81f542fb9f5.tar.xz | |
Added FAQ item for compile error `-fPIC`
Closes #120
Diffstat (limited to '')
| -rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -120,6 +120,20 @@ go build --tags "icu json1 fts5 secure_delete" connection to this string will point to the same in-memory database. See [#204](https://github.com/mattn/go-sqlite3/issues/204) for more info. +- Compile error: `can not be used when making a shared object; recompile with -fPIC` + + When receiving a compile time error referencing recompile with `-FPIC` then you + are probably using a hardend system. + + You can copile the library on a hardend system with the following command. + + ```bash + go build -ldflags '-extldflags=-fno-PIC' + ``` + + More details see [#120](https://github.com/mattn/go-sqlite3/issues/120) + + # License MIT: http://mattn.mit-license.org/2012 |
