diff --git a/configure.ac b/configure.ac
index 91d651e..013674d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,7 +57,7 @@ if [ test "x$os_type" = "xLinux" ]; then
 # Linux
   AC_MSG_WARN([OS: Linux])
   CFLAGS="$CFLAGS -DHAVE_LINUX"
-  DYNLIB_EXT=".so"
+  DYNLIB_EXT=".so.0"
   LD_PRELOAD_NAME="LD_PRELOAD"
   LD_LIBRARY_PATH_NAME="LD_LIBRARY_PATH"
 elif [ test "x$os_type" = "xDarwin" ]; then
@@ -71,7 +71,7 @@ else
 # unknown OS, let's try Linux
   AC_MSG_WARN([unknown OS: falling back to Linux])
   CFLAGS="$CFLAGS -DHAVE_LINUX"
-  DYNLIB_EXT=".so"
+  DYNLIB_EXT=".so.0"
   LD_PRELOAD_NAME="LD_PRELOAD"
   LD_LIBRARY_PATH_NAME="LD_LIBRARY_PATH"
 fi
diff --git a/test/static/Makefile.am b/test/static/Makefile.am
index c92e6a5..69e9b36 100644
--- a/test/static/Makefile.am
+++ b/test/static/Makefile.am
@@ -39,18 +39,18 @@ AM_CFLAGS = -W -Wall -Wextra -I$(srcdir)/../../core/ -I$(top_builddir)/src/core
 
 libeztrace_convert_staticlib_la_CPPFLAGS = $(AM_CPPFLAGS) $(FXTCFLAGS) $(GTGCFLAGS)
 libeztrace_convert_staticlib_la_LIBADD = $(FXT_LIB) $(GTG_LIB)
-libeztrace_convert_staticlib_la_LDFLAGS = $(GTGLDFLAGS) $(FXTLDFLAGS) -module -avoid-version -rpath /dev/null
+libeztrace_convert_staticlib_la_LDFLAGS = $(GTGLDFLAGS) $(FXTLDFLAGS) -module -rpath /dev/null
 libeztrace_convert_staticlib_la_DEPENDENCIES = $(GTGDEPENDENCIES)
 libeztrace_convert_staticlib_la_SOURCES = eztrace_convert_staticlib.c
 
 libeztrace_staticlib_la_CPPFLAGS = $(AM_CPPFLAGS) $(FXTCFLAGS)
 libeztrace_staticlib_la_LIBADD = $(FXT_LIB)
-libeztrace_staticlib_la_LDFLAGS = --no-undefined $(FXTLDFLAGS) -Wl,-Bsymbolic -module -avoid-version -rpath /dev/null
+libeztrace_staticlib_la_LDFLAGS = --no-undefined $(FXTLDFLAGS) -Wl,-Bsymbolic -module -rpath /dev/null
 libeztrace_staticlib_la_SOURCES = staticlib.c
 
 libeztrace_autostart_staticlib_la_CPPFLAGS = $(AM_CPPFLAGS) $(FXTCFLAGS)
 libeztrace_autostart_staticlib_la_LIBADD = $(FXT_LIB)
-libeztrace_autostart_staticlib_la_LDFLAGS = --no-undefined $(FXTLDFLAGS) -Wl,-Bsymbolic -module -avoid-version -rpath /dev/null
+libeztrace_autostart_staticlib_la_LDFLAGS = --no-undefined $(FXTLDFLAGS) -Wl,-Bsymbolic -module -rpath /dev/null
 libeztrace_autostart_staticlib_la_CFLAGS = $(AM_CFLAGS) -W -Wall -Wextra -DEZTRACE_AUTOSTART 
 libeztrace_autostart_staticlib_la_SOURCES = staticlib.c
 
