Re: [gdome] building gdome on os x



On Wed, Sep 10, 2008 at 10:32:22AM -0700, Aaron Patterson wrote:
> Hi everyone!
> 
> I'm trying to build gdome on OS X, but I got an error!  I installed
> glib from macports, and ran autoconf to generate a new configure
> script.  All the dependencies were found, but I seem to be getting a
> linking error:
> 
> gcc -dynamiclib -flat_namespace -undefined suppress -o
> .libs/libgdome.0.8.1.dylib  gdome.lo gdome-events.lo gdome-xpath.lo
> gdome-util.lo gdome-private-list.lo gdome-refdebug.lo gdome-treegc.lo
> -all_load  ../libgdome/gdomecore/.libs/libgdomecore.al
> ../libgdome/events/.libs/libgdomeevents.al
> ../libgdome/xpath/.libs/libgdomexpath.al
> ../libgdome/gdomecore/.libs/libgdomecore.al
> ../libgdome/events/.libs/libgdomeevents.al
> ../libgdome/xpath/.libs/libgdomexpath.al -L/usr/lib -lxml2 -lz
> -lpthread -licucore -lm -L/opt/local/lib -lglib-2.0 -lintl -liconv -lc
> -install_name  /usr/local/lib/libgdome.0.dylib -compatibility_version
> 9 -current_version 9.1
> ld warning: duplicate dylib /usr/lib/libiconv.2.dylib
> ld: duplicate symbol _gdome_xpath_xpnsresolv_vtab in
> ../libgdome/xpath/.libs/libgdomexpath.al(gdome-xpath-xpeval.lo) and
> gdome-xpath.lo
> collect2: ld returned 1 exit status
> make[3]: *** [libgdome.la] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive-am] Error 2
> [][aaron amac gdome2-0.8.1]$
> 
> I would appreciate any help I can get!  Thank you!

Fink's gdome (0.8.1) has a patch that sounds related. Look at the last
piece of:

  http://fink.cvs.sourceforge.net/fink/dists/10.4/stable/main/finkinfo/gnome/libgdome0.patch?view=markup

There is a packaging note:

  Included libtool is *very* old and buggy, so we'll just start
  over instead of trying to patch it.

So make sure you are using a recent libtool (and automake, etc) and do
'autoreconf -fi' to force regeneration of all scripts (avoid having
mismatched remnants of the distro ones).

See the full package for more information about what worked for me
there:

  http://fink.cvs.sourceforge.net/fink/dists/10.4/stable/main/finkinfo/gnome/libgdome0.info?view=markup

dan

-- 
Daniel Macks
dmacks netspace org
http://www.netspace.org/~dmacks



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]