--- smpeg/Makefile.am.orig	2015-11-03 10:14:21.774927000 +0300
+++ smpeg/Makefile.am	2015-11-03 10:14:35.328927000 +0300
@@ -62,7 +62,7 @@
 
 libsmpeg_la_LDFLAGS = 		\
         -release $(LT_RELEASE)	\
-	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+	-no-undefined -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
 
 EXTRA_DIST =			\
 	CHANGES			\
