[Gluster-devel] failure to compile on OSX

Luke Schierer luke-gluster at acceleratedservers.com
Fri Mar 28 14:46:00 UTC 2008


I still get the same failure.  I am wondering, given that others have
suceeded, that there might be something else in my environment that is
causing this error.  Any ideas? 

gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall
-I../../../../libglusterfs/src -shared -nostartfiles -bundle -undefined
suppress -flat_namespace -D__FreeBSD__=10 -D__DARWIN_64_BIT_INO_T=1 -o
unify.so unify.o unify-self-heal.o  -lpthread  
ld: can't insert lazy pointers, __dyld section not found
collect2: ld returned 1 exit status
make[5]: *** [unify.so] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

luke


On Thu, Feb 28, 2008 at 08:45:23PM -0800, Amar S. Tumballi wrote:
> Hi Luke,
>  can you try to configure like below?
> 
> CFLAGS='-D__FreeBSD__=10 -D__DARWIN_64_BIT_INO_T' ./configure
> 
> Regards,
> Amar
> 
> On Thu, Feb 28, 2008 at 8:38 PM, Luke Schierer <
> luke-gluster at acceleratedservers.com> wrote:
> 
> > Hi,
> > The wiki suggests that glusterfs should compile on OSX.  When I attempt
> > to do so, I get the following error:
> >
> > gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall
> > -I../../../../libglusterfs/src -shared -nostartfiles -bundle -undefined
> > suppress -flat_namespace -D__FreeBSD__=10 -o unify.so unify.o
> > unify-self-heal.o  -lpthread
> > ld: can't insert lazy pointers, __dyld section not found
> > collect2: ld returned 1 exit status
> > make[5]: *** [unify.so] Error 1
> > make[4]: *** [all-recursive] Error 1
> > make[3]: *** [all-recursive] Error 1
> > make[2]: *** [all-recursive] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2
> >
> > This is with a checkout from arch just today, I am not really sure how
> > to use arch, so I am unsure how to get a revision number.  the last
> > couple lines of the checkout were:
> >
> > * patching for revision:
> > * gluster at sv.gnu.org/glusterfs--mainline--2.5--patch-689
> > * making pristine copy
> > * tree version set gluster at sv.gnu.org/glusterfs--mainline--2.5
> >
> >
> > I hope this helps.
> >
> > Thanks!!
> >
> > Luke Schierer
> > Accelerated Servers.
> >
> >
> > _______________________________________________
> > Gluster-devel mailing list
> > Gluster-devel at nongnu.org
> > http://lists.nongnu.org/mailman/listinfo/gluster-devel
> >
> 
> 
> 
> -- 
> Amar Tumballi
> Gluster/GlusterFS Hacker
> [bulde on #gluster/irc.gnu.org]
> http://www.zresearch.com - Commoditizing Supercomputing and Superstorage!





More information about the Gluster-devel mailing list