--- a/src/recollinstall.in
+++ b/src/recollinstall.in
@@ -69,6 +69,7 @@
for d in \
${bindir} \
${libdir} \
+ ${libdir}/recoll \
${mandir}/man1 \
${mandir}/man5 \
${datadir}/icons \
@@ -116,7 +117,7 @@
${INSTALL} -m 0755 index/recollindex ${bindir} || exit 1
${STRIP} ${bindir}/recollindex
-${INSTALL} -m 0644 lib/librecoll.so.${RCLLIBVERSION} ${libdir} || exit 1
+${INSTALL} -m 0644 lib/librecoll.so.${RCLLIBVERSION} ${libdir}/recoll/ || exit 1
${INSTALL} -m 0755 filters/rcl* ${datadir}/recoll/filters/ || exit 1
for f in rclexecm.py rcllatinstops.zip;do