File tree 1 file changed +25
-1
lines changed
1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,30 @@ SQLite3 has its own [online documentation](http://www.sqlite.org/docs.html).
28
28
The ` test ` -directory in this distribution contains a few simple examples
29
29
for testing various features of this library.
30
30
31
+ ### Build issues
32
+
33
+ SQLite3-OCaml depends on ` pkg-config ` to locate and compile against an
34
+ [ SQLite3] ( http://www.sqlite.org ) library.
35
+
36
+ If the SQLite3 version is larger than or equal to 3.3.7, it is assumed that it
37
+ supports [ Run-Time Loadable Extensions] ( http://www.sqlite.org/loadext.html ) .
38
+ If this feature has been explicitly disabled in the library, the build will
39
+ fail with:
40
+
41
+ ```
42
+ Undefined symbols for architecture ...:
43
+ "_sqlite3_enable_load_extension", referenced from:
44
+ _caml_sqlite3_enable_load_extension in libsqlite3_stubs.a(sqlite3_stubs.o)
45
+ (maybe you meant: _caml_sqlite3_enable_load_extension)
46
+ ```
47
+
48
+ * You can check if your library is missing loadable extensions by searching
49
+ it for the string ` OMIT_LOAD_EXTENSION ` .
50
+
51
+ * If you need to change where ` pkg-config ` will look for the SQLite3
52
+ library, set the ` PKG_CONFIG_PATH ` environment variable to the new
53
+ directory.
54
+
31
55
Credits
32
56
-------
33
57
@@ -59,4 +83,4 @@ Up-to-date information should be available at:
59
83
60
84
Enjoy!
61
85
62
- Markus Mottl on July 10, 2012
86
+ Markus Mottl on February 9, 2015
You can’t perform that action at this time.
0 commit comments