diff --git a/installer/resources/postinstall.sh b/installer/resources/postinstall.sh
index a411b8e9ceab40daa7aa87a757eff414ed946636..60c80d2c9df7e3577f9c60044d4f301e6935e080 100644
--- a/installer/resources/postinstall.sh
+++ b/installer/resources/postinstall.sh
@@ -72,7 +72,7 @@ case $HOST_OS in
             wrapperpath="./lib/wrapper/freebsd64"
             cp ${wrapperpath}/libwrapper.so ./lib/
             # the 32bit libwrapper.so will be needed if a 32 bit jvm is used
-            cp ./lib/freebsd/libwrapper.so ./lib/libwrapper-freebsd-x86-32.so
+            cp ./lib/wrapper/freebsd/libwrapper.so ./lib/libwrapper-freebsd-x86-32.so
         fi
         ;;
     osx )