--- src/VBox/HostServices/auth/pam/VBoxAuthPAM.c.orig	2012-04-03 12:44:41.841214284 -0400
+++ src/VBox/HostServices/auth/pam/VBoxAuthPAM.c	2012-04-03 12:47:04.830215881 -0400
@@ -62,6 +62,8 @@
 /* The name of the PAM library */
 # ifdef RT_OS_SOLARIS
 #  define PAM_LIB_NAME "libpam.so.1"
+# elif defined(RT_OS_FREEBSD)
+#  define PAM_LIB_NAME "libpam.so"
 # else
 #  define PAM_LIB_NAME "libpam.so.0"
 # endif