Index: contrib/slapd-modules/passwd/totp/Makefile
--- contrib/slapd-modules/passwd/totp/Makefile.orig
+++ contrib/slapd-modules/passwd/totp/Makefile
@@ -9,7 +9,7 @@ LDAP_LIB = $(LDAP_BUILD)/libraries/libldap/libldap.la 
 PLAT = UNIX
 NT_LIB = -L$(LDAP_BUILD)/servers/slapd -lslapd
 NT_LDFLAGS = -no-undefined -avoid-version
-UNIX_LDFLAGS = -version-info $(LTVER)
+UNIX_LDFLAGS = -avoid-version
 
 LIBTOOL = $(LDAP_BUILD)/libtool
 INSTALL = /usr/bin/install
