summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2015-04-27 15:00:36 +0200
committerVijay Bellur <vbellur@redhat.com>2015-05-03 22:36:00 -0700
commit3527c6a7dfe435c3b6b8d89a325ae0603f2c08a1 (patch)
tree058ff06ccdc7e6fbddc64e3384c30089f5f62c74
parentf81deb95db417eeededf7442a30304a880cc8169 (diff)
tier: relax libgfdb required version number
When calling dlopen() for libgfdb, do not specify the library version number "libgfdb.so.0.0.1", 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 "libgfdb.so.0.0.1" does not exist. Instead, just specify "libgfdb.so" and rely on smymlinks installed by libtool to find the relevant library. BUG: 1129939 Change-Id: I074b1009d3622a122fdaeb4b99658bca3277e211 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.org/10407 Tested-by: NetBSD Build System Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--xlators/cluster/dht/src/tier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/tier.c b/xlators/cluster/dht/src/tier.c
index 3e3fad7ca26..593a2cc29ed 100644
--- a/xlators/cluster/dht/src/tier.c
+++ b/xlators/cluster/dht/src/tier.c
@@ -994,7 +994,7 @@ static int
tier_load_externals (xlator_t *this)
{
int ret = -1;
- char *libpathfull = (LIBDIR "/libgfdb.so." LIBGFDB_VERSION);
+ char *libpathfull = (LIBDIR "/libgfdb.so");
get_gfdb_methods_t get_gfdb_methods;
GF_VALIDATE_OR_GOTO("this", this, out);