File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,20 @@ go build --tags "icu json1 fts5 secure_delete"
120
120
connection to this string will point to the same in-memory database. See
121
121
[ #204 ] ( https://github.com/mattn/go-sqlite3/issues/204 ) for more info.
122
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
+
123
137
# License
124
138
125
139
MIT: http://mattn.mit-license.org/2012
You can’t perform that action at this time.
0 commit comments