[Gluster-users] Problems building on Snow Leopard

Roger Herikstad roger.herikstad at gmail.com
Fri Nov 26 10:11:32 UTC 2010


Hi all,
 I'm trying to build glusterfs-3.1.1qa1 on Apple's Snow Leopard
(Darwin 10.5.0), but I'm running into this error:

....
glibtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../../..
-I../../../libglusterfs/src -I../../../contrib/uuid
-D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -D_GNU_SOURCE
-DGF_DARWIN_HOST_OS -I../../../libglusterfs/src
-I../../../rpc/rpc-lib/src -fPIC -Wall -g -nostartfiles
-I../../../argp-standalone -D__DARWIN_64_BIT_INO_T -bundle -undefined
suppress -flat_namespace -D_XOPEN_SOURCE -O0 -g -O2 -MT
libgfxdr_la-portmap.lo -MD -MP -MF .deps/libgfxdr_la-portmap.Tpo -c
portmap.c  -fno-common -DPIC -o .libs/libgfxdr_la-portmap.o
glibtool --tag=CC --mode=link gcc  -g -O2   -o libgfxdr.la -rpath
/usr/local/lib  libgfxdr_la-xdr-generic.lo
libgfxdr_la-glusterfs3-xdr.lo libgfxdr_la-glusterfs3.lo
libgfxdr_la-cli1-xdr.lo libgfxdr_la-cli1.lo
libgfxdr_la-glusterd1-xdr.lo libgfxdr_la-glusterd1.lo
libgfxdr_la-portmap-xdr.lo libgfxdr_la-portmap.lo
../../../libglusterfs/src/libglusterfs.la
../../../rpc/rpc-lib/src/libgfrpc.la -lpthread

*** Warning: Linking the shared library libgfxdr.la against the loadable module
*** libgfrpc.0.0.0.so is not portable!
*** Warning: lib libgfrpc.0.0.0.so is a module, not a shared library

*** And there doesn't seem to be a static archive available
*** The link will probably fail, sorry
glibtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o
.libs/libgfxdr.0.dylib  .libs/libgfxdr_la-xdr-generic.o
.libs/libgfxdr_la-glusterfs3-xdr.o .libs/libgfxdr_la-glusterfs3.o
.libs/libgfxdr_la-cli1-xdr.o .libs/libgfxdr_la-cli1.o
.libs/libgfxdr_la-glusterd1-xdr.o .libs/libgfxdr_la-glusterd1.o
.libs/libgfxdr_la-portmap-xdr.o .libs/libgfxdr_la-portmap.o
../../../libglusterfs/src/.libs/libglusterfs.0.0.0.dylib
../../../rpc/rpc-lib/src/.libs/libgfrpc.0.0.0.so
/opt/cluster/installs/glusterfs-3.1.1qa1/libglusterfs/src/.libs/libglusterfs.0.0.0.dylib
-lfl -lpthread  -Wl,-dylib_file
-Wl,/usr/local/lib/libglusterfs.0.dylib:/opt/cluster/installs/glusterfs-3.1.1qa1/libglusterfs/src/.libs/libglusterfs.0.0.0.dylib
 -install_name  /usr/local/lib/libgfxdr.0.dylib
-compatibility_version 1 -current_version 1.0 -Wl,-single_module
ld: in ../../../rpc/rpc-lib/src/.libs/libgfrpc.0.0.0.so, can't link
with bundle (MH_BUNDLE) only dylibs (MH_DYLIB)
collect2: ld returned 1 exit status
make[4]: *** [libgfxdr.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Does anyone have any idea how to solve this? Thanks!

Regards,

Roger Herikstad



More information about the Gluster-users mailing list