Issue 8503 - Provide proper soname to liblmdb.so.1
Summary: Provide proper soname to liblmdb.so.1
Status: UNCONFIRMED
Alias: None
Product: LMDB
Classification: Unclassified
Component: liblmdb (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-16 12:22 UTC by gahr@gahr.ch
Modified: 2020-03-12 15:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description gahr@gahr.ch 2016-09-16 12:22:13 UTC
Full_Name: Pietro Cerutti
Version: LMDB 0.9.18
OS: FreeBSD
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (69.191.176.31)


This patch provides the shared lib with a proper soname.


diff --git a/libraries/liblmdb/Makefile b/libraries/liblmdb/Makefile
index 72d0984..4429992 100644
--- a/libraries/liblmdb/Makefile
+++ b/libraries/liblmdb/Makefile
@@ -66,7 +66,7 @@ liblmdb.a:    mdb.o midl.o

 liblmdb$(SOEXT):       mdb.lo midl.lo
 #      $(CC) $(LDFLAGS) -pthread -shared -Wl,-Bsymbolic -o $@ mdb.o midl.o
$(SOLIBS)
-       $(CC) $(LDFLAGS) -pthread -shared -o $@ mdb.lo midl.lo $(SOLIBS)
A0A+   
   4%4(CC) $(LDFLAGS) -pthread -shared -Wl,-soname=$@ -o $@ mdb.lo midl.lo
$(SOLIBS)

 mdb_stat: mdb_stat.o liblmdb.a
 mdb_copy: mdb_copy.o liblmdb.a
Comment 1 Quanah Gibson-Mount 2017-03-17 16:52:40 UTC
moved from Incoming to Software Bugs