On Wed, Apr 02, 2008 at 05:40:04PM -0700, Gilad Raphaelli wrote:
> 
> Would that look something like this?
> 
> /opt/local/bin/gcc-mp-4.3 -dynamiclib ${wl}-flat_namespace ${wl}-undefined 
> ${wl}suppress -o .libs/libganglia-3.1.0..0.0.0.dylib  .libs/gm_protocol_xdr.o 
> .libs/become_a_nobody.o .libs/debug_msg.o .libs/daemon_init.o .libs/file.o 
> .libs/dotconf.o .libs/error_msg.o .libs/ganglia.o .libs/hash.o 
> .libs/inetaddr.o .libs/llist.o .libs/my_inet_ntop.o .libs/rdwr.o 
> .libs/readdir.o .libs/tcp.o .libs/scoreboard.o .libs/apr_net.o 
> .libs/libgmond.o  -L/opt/local/lib /opt/local/lib/libintl.dylib 
> /opt/local/lib/libiconv.dylib -ldl -lkvm /opt/local/lib/libexpat.dylib 
> /opt/local/lib/libconfuse.a /opt/local/lib/libapr-1.dylib -lpthread  
> -install_name  /Users/graph/local/lib/libganglia-3.1.0..0.dylib 
> -compatibility_version 1 -current_version 1.0
> /usr/bin/ld: common symbols not allowed with MH_DYLIB output format with the 
> -multi_module option
> /opt/local/lib/libconfuse.a(lexer.o) definition of common _cfg_include_stack 
> (size 128)
> /opt/local/lib/libconfuse.a(lexer.o) definition of common _cfg_yyleng (size 
> 16)
> /opt/local/lib/libconfuse.a(lexer.o) definition of common _cfg_yytext (size 
> 16)
> collect2: ld returned 1 exit status
> make[2]: *** [libganglia.la] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

not likely, it shouldn't result in a broken gmond binaryi (which will fail to
start because can't find the "core_metrics" symbol or send a heartbeat), but
not in a broken build.

this one looks like a problem with confuse not being build/installed as a
shared object while you are trying to link it dynamically.

try to rebuild/reinstall libconfuse with :

  ./configure --enable-shared --disable-static --prefix=/opt/local

or build ganglia statically with :

  ./configure --enable-static-build --with-libconfuse=/opt/local

Carlo

PS. what version of MacOS X is this?, which architecture?

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to