Index: configure.ac
===================================================================
--- configure.ac	(revision 148)
+++ configure.ac	(working copy)
@@ -43,6 +43,14 @@
 # Site settings
 VS_CHECK_SYSCALL_NR
 
+# Enable symbol versioning
+vsymldflags=
+AC_MSG_CHECKING([version script options])
+AC_ARG_WITH([versioned-symbol],AC_HELP_STRING([--with-versioned-symbol],[Use versioned symbols]),[dnl
+			 vsymldflags="-Wl,--version-script,libvserver.ver -Wl,-O1"
+			 ])
+AC_SUBST(vsymldflags)
+AC_MSG_RESULT([${vsymldflags}])
 
 # Output
 AC_CONFIG_FILES([Makefile
Index: lib/Makefile.am
===================================================================
--- lib/Makefile.am	(revision 148)
+++ lib/Makefile.am	(working copy)
@@ -20,4 +20,4 @@
                         switch.c \
                         syscall.c
 
-libvserver_la_LDFLAGS = -version-info 1:0:0
+libvserver_la_LDFLAGS = -version-info 1:0:0 -export-dynamic @vsymldflags@
Index: lib/libvserver.ver
===================================================================
--- lib/libvserver.ver	(revision 0)
+++ lib/libvserver.ver	(revision 0)
@@ -0,0 +1,10 @@
+HIDDEN {
+	local:
+	__*;
+	_rest*;
+	_save*;
+};
+
+libvserver1_0.3.0 {
+	*;
+};
