On Fri, Jan 23, 2009 at 10:15:29AM -0500, Alexander Hansen wrote:
> [email protected] wrote:
> > I have attached the config.log. The last command and the error messages
> > are shown below. TIA, Jonathsn
> >
> > gcc -I/sw/lib/fontconfig2/include -L/sw/lib/fontconfig2/lib
> > -I/sw/lib/freetype219/include -L/sw/lib/freetype219/lib -dynamiclib
> > ${wl}-undefined ${wl}dynamic_lookup -o
> > .libs/libgimpwidgets-2.0.0.400.5.dylib
[lots of .libs/*.o]
> > -L/sw/lib/fontconfig2/lib -L/sw/lib/freetype219/lib -L/sw/lib
> > ../libgimpcolor/.libs/libgimpcolor-2.0.dylib
> > ../libgimpconfig/.libs/libgimpconfig-2.0.dylib
> > /sw/lib/libgimpbase-2.0.dylib /sw/lib/libgimpcolor-2.0.dylib
> > /sw/lib/libgimpmath-2.0.dylib ../libgimpbase/.libs/libgimpbase-2.0.dylib
[lots of dependency .dylib]
[lots of other linker flags]
> > ld: warning multiple references to dynamic shared library:
> > /sw/lib/libgimpbase-2.0.0.dylib (from /sw/lib/libgimpbase-2.0.dylib and
> > ../libgimpbase/.libs/libgimpbase-2.0.dylib, using
> > ../libgimpbase/.libs/libgimpbase-2.0.dylib which has higher
> > compatibility_version)
> > ld: Undefined symbols:
> > _gimp_matrix2_get_type referenced from libgimpconfig-2 expected to be
> > defined in libgimpmath-2
> > /usr/bin/libtool: internal link edit command failed
> > make[2]: *** [libgimpwidgets-2.0.la] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2
> > ### execution of /var/tmp/tmp.2.KffVER failed, exit code 2
> It _shouldn't_ need this, but try removing the currently installed
> gimp2-dev package if you've got that.

It's linking against some *installed* gimp libs even though they are
part of the package being built (and it's *also* linking against the
build-dir ones). So the multiple-libraries message is in line with
that, and removing existing gimp2-dev would be the solution. It's a
libtool-1.5.x bug we've seen before and either upgrading to libtool2
or importing some libtool2 parts of ltmain.sh solved it IIRC.

dan

-- 
Daniel Macks
[email protected]
http://www.netspace.org/~dmacks


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to