diff options
authorEmmanuel Dreyfus <>2015-04-27 15:50:19 +0200
committerVijay Bellur <>2015-04-28 10:30:05 -0700
commit211b75e21e3f4a93307ae47b4fc9dc6cd3681394 (patch)
parenta7e04388e03f3706c40be9d9444784a1579ed51d (diff)
tier: relax libgfdb required version number
When calling dlopen() for libgfdb, do not specify the library version number "", since libtool will not always create libraries or link with that name with the full 3-digit version. For instance on NetBSD only up to the 2-digit version is available and "" does not exist. Instead, just specify "" and rely on smymlinks installed by libtool to find the relevant library. Backport of: I074b1009d3622a122fdaeb4b99658bca3277e211 BUG: 1212676 Change-Id: I334cb6be8508051105c393ce4bb350f9df014df5 Signed-off-by: Emmanuel Dreyfus <> Reviewed-on: Reviewed-by: Dan Lambright <> Tested-by: NetBSD Build System Tested-by: Gluster Build System <>
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/tier.c b/xlators/cluster/dht/src/tier.c
index f9c47fd..0663a7f 100644
--- a/xlators/cluster/dht/src/tier.c
+++ b/xlators/cluster/dht/src/tier.c
@@ -952,7 +952,7 @@ static int
tier_load_externals (xlator_t *this)
int ret = -1;
- char *libpathfull = (LIBDIR "/" LIBGFDB_VERSION);
+ char *libpathfull = (LIBDIR "/");
get_gfdb_methods_t get_gfdb_methods;
GF_VALIDATE_OR_GOTO("this", this, out);