File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -274,8 +274,11 @@ To configure it in your Django settings, use
274274
275275.. admonition :: Dynamic library path configuration
276276
277- You may also need to configure an environment variable so that your system
278- can locate the library:
277+ If you encounter ``Pymongocrypt.errors.MongoCryptError: An existing
278+ crypt_shared library is loaded by the application at
279+ [/path/to/mongo_crypt_v1.so], but the current call to mongocrypt_init()
280+ failed to find that same library. ``, you probably need to configure an
281+ environment variable so that your system can locate the library:
279282
280283 +---------------+---------------------------------+
281284 | **Platform ** | **Environment Variable ** |
@@ -290,7 +293,7 @@ To configure it in your Django settings, use
290293 For example, on macOS you can set the ``DYLD_FALLBACK_LIBRARY_PATH ``
291294 environment variable in your shell before starting your Django application::
292295
293- $ export DYLD_FALLBACK_LIBRARY_PATH="/path/to/mongo_crypt_shared_v1.dylib :$DYLD_FALLBACK_LIBRARY_PATH"
296+ $ export DYLD_FALLBACK_LIBRARY_PATH="/path/to/mongo_crypt_shared/ :$DYLD_FALLBACK_LIBRARY_PATH"
294297
295298You are now ready to :doc: `start developing applications
296299</topics/queryable-encryption>` with Queryable Encryption!
You can’t perform that action at this time.
0 commit comments