We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-fPIC
1 parent 92e4da0 commit 3526997Copy full SHA for 3526997
README.md
@@ -120,6 +120,20 @@ go build --tags "icu json1 fts5 secure_delete"
120
connection to this string will point to the same in-memory database. See
121
[#204](https://github.com/mattn/go-sqlite3/issues/204) for more info.
122
123
+- Compile error: `can not be used when making a shared object; recompile with -fPIC`
124
+
125
+ When receiving a compile time error referencing recompile with `-FPIC` then you
126
+ are probably using a hardend system.
127
128
+ You can copile the library on a hardend system with the following command.
129
130
+ ```bash
131
+ go build -ldflags '-extldflags=-fno-PIC'
132
+ ```
133
134
+ More details see [#120](https://github.com/mattn/go-sqlite3/issues/120)
135
136
137
# License
138
139
MIT: http://mattn.mit-license.org/2012
0 commit comments