diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c9a57798843efdb196f293435c12b0bcd8d031ff..84449032ae000d3f008236521ec96325ef8321d4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -110,6 +110,7 @@ stages:
   - cd build
   - cmake -DCMAKE_BUILD_TYPE=release -DBUILD_DEMOS=ON -DBUILD_TESTS=ON ..
   - make -j$(nproc)
+  - ldconfig
   - ctest -j$(nproc) --output-on-failure
   # run demos
   - ../bin/hello_wolf