[Bugs] [Bug 1159248] New: glupy compilation issue
bugzilla at redhat.com
bugzilla at redhat.com
Fri Oct 31 09:58:17 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1159248
Bug ID: 1159248
Summary: glupy compilation issue
Product: GlusterFS
Version: mainline
Component: build
Severity: high
Assignee: bugs at gluster.org
Reporter: kiran at fractalio.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Description of problem:
glupy translator has compilation issue
Version-Release number of selected component (if applicable):
master branch
How reproducible:
Always
Steps to Reproduce:
1. goto gluster source (cd glusterfs)
2. ./configure
3. make
4. make install
Actual results:
Making all in glupy
Making all in src
CC glupy.lo
CCLD glupy.la
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libutil.so when searching for
-lutil
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for
-lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
and
glupy.py__init__.py
/bin/sh ../../../../libtool --quiet --mode=install /usr/bin/install -c
glupy.la '/usr/local/lib/glusterfs/3.6.0beta3/xlator/features'
libtool: install: warning: relinking `glupy.la'
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libutil.so when searching for
-lutil
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for
-lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
Expected results:
Successful compilation without any errors
Additional info:
A fix suggested by Niels.
diff --git a/configure.ac b/configure.ac
index 3757c33..3dd741c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1007,7 +1007,7 @@ case $host_os in
linux*)
CFLAGS="`${PYTHON}-config --cflags`"
CPPFLAGS=$CFLAGS
- LDFLAGS="-L`${PYTHON}-config --prefix`/lib `${PYTHON}-config
--ldflags`"
+ LDFLAGS="-L`${PYTHON}-config --prefix`/$libdir `${PYTHON}-config
--ldflags`"
;;
darwin*)
CFLAGS="`${PYTHON}-config --cflags`"
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list