File soname-configurable.patch of Package lmdb

Index: lmdb-LMDB_0.9.23/libraries/liblmdb/Makefile.am
===================================================================
--- lmdb-LMDB_0.9.23.orig/libraries/liblmdb/Makefile.am
+++ lmdb-LMDB_0.9.23/libraries/liblmdb/Makefile.am
@@ -1,6 +1,6 @@
 lib_LTLIBRARIES = liblmdb.la
 liblmdb_la_SOURCES = mdb.c midl.c
-liblmdb_la_LDFLAGS=-no-undefined -avoid-version
+liblmdb_la_LDFLAGS = -no-undefined -release __VERSION__
 
 bin_PROGRAMS = mdb_stat mdb_copy mdb_load mdb_dump lmdump lmmgr
 mdb_stat_LDADD = liblmdb.la