Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Add dl to linked libraries.

Jason Bosco0a99fd11c04c
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c3ab91d6..562ba844 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,7 +51,7 @@ target_compile_definitions(search PRIVATE ROOT_DIR="${CMAKE_SOURCE_DIR}/")
target_compile_definitions(benchmark PRIVATE ROOT_DIR="${CMAKE_SOURCE_DIR}/")
target_compile_definitions(typesense_test PRIVATE ROOT_DIR="${CMAKE_SOURCE_DIR}/")
-target_link_libraries(typesense-server for h2o-evloop pthread rocksdb ssl crypto)
+target_link_libraries(typesense-server for h2o-evloop pthread rocksdb ssl crypto dl)
target_link_libraries(search for pthread rocksdb)
target_link_libraries(benchmark for pthread rocksdb)
target_link_libraries(typesense_test pthread for rocksdb gtest gtest_main)
diff --git a/README.md b/README.md
index 92aca9fd..c82fcdd8 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,15 @@ Typesense is an open source search engine for building a delightful search exper
Please ensure that you have docker installed on your system.
```
-$ ./build.sh
+$ ./build.sh [--clean]
+.
+.
+.
+$ ./dockcross build/typesense_test
+.
+.
+.
+$ ./dockcross build/typesense-server
```
We use [dockcross](https://github.com/dockcross/dockcross) to build our development environment consistently.