ld: warning: ignoring file /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/librsvg-2.dylib, file was built for i386 which is not the architecture being linked (x86_64): /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/librsvg-2.dylib
ld: warning: ignoring file /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libgdk_pixbuf-2.0.dylib, file was built for i386 which is not the architecture being linked (x86_64): /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libgdk_pixbuf-2.0.dylib
ld: warning: ignoring file /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libgthread-2.0.dylib, file was built for i386 which is not the architecture being linked (x86_64): /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libgthread-2.0.dylib
ld: warning: ignoring file /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libgobject-2.0.dylib, file was built for i386 which is not the architecture being linked (x86_64): /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libgobject-2.0.dylib
ld: warning: ignoring file /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libgmodule-2.0.dylib, file was built for i386 which is not the architecture being linked (x86_64): /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libgmodule-2.0.dylib
ld: warning: ignoring file /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libglib-2.0.dylib, file was built for i386 which is not the architecture being linked (x86_64): /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libglib-2.0.dylib
ld: warning: ignoring file /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libintl.dylib, file was built for i386 which is not the architecture being linked (x86_64): /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libintl.dylib
ld: warning: ignoring file /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libpng12.dylib, file was built for i386 which is not the architecture being linked (x86_64): /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libpng12.dylib
ld: warning: ignoring file /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libcairo.dylib, file was built for i386 which is not the architecture being linked (x86_64): /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/libcairo.dylib
3. Then I see:
Undefined symbols for architecture x86_64:
"_g_clear_error", referenced from:
_svg_load_image in image.o
"_g_object_unref", referenced from:
_svg_load_image in image.o
"_g_type_init", referenced from:
_svg_load_image in image.o
"_gdk_pixbuf_get_height", referenced from:
_svg_load_image in image.o
"_gdk_pixbuf_get_pixels", referenced from:
_svg_load_image in image.o
"_gdk_pixbuf_get_rowstride", referenced from:
_svg_load_image in image.o
"_gdk_pixbuf_get_width", referenced from:
_svg_load_image in image.o
"_rsvg_handle_close", referenced from:
_svg_load_image in image.o
"_rsvg_handle_get_dimensions", referenced from:
_svg_load_image in image.o
"_rsvg_handle_get_pixbuf", referenced from:
_svg_load_image in image.o
"_rsvg_handle_new", referenced from:
_svg_load_image in image.o
"_rsvg_handle_set_base_uri", referenced from:
_svg_load_image in image.o
"_rsvg_handle_write", referenced from:
_svg_load_image in image.o
ld: symbol(s) not found for architecture x86_64
Thanks,
r
SVG_LIBS= -L/Library/Frameworks/Mono.framework/Versions/2.10.8/lib -lrsvg-2 -lm -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lpng12 -lcairo
RSVG_CFLAGS= -D_REENTRANT -I/Library/Frameworks/Mono.framework/Versions/2.10.8/include/librsvg-2 -I/Library/Frameworks/Mono.framework/Versions/2.10.8/include/gdk-pixbuf-2.0 -I/Library/Frameworks/Mono.framework/Versions/2.10.8/include/cairo -I/Library/Frameworks/Mono.framework/Versions/2.10.8/include/glib-2.0 -I/Library/Frameworks/Mono.framework/Versions/2.10.8/lib/glib-2.0/include -I/Library/Frameworks/Mono.framework/Versions/2.10.8/include -I/Library/Frameworks/Mono.framework/Versions/2.10.8/include/pixman-1 -I/Library/Frameworks/Mono.framework/Versions/2.10.8/include -I/Library/Frameworks/Mono.framework/Versions/2.10.8/include/freetype2 -I/Library/Frameworks/Mono.framework/Versions/2.10.8/include -I/Library/Frameworks/Mono.framework/Versions/2.10.8/include/libpng12
in both lib/Makefile and src/Makefile
This looked connected to SVG support, so I redid
make maintainer-clean
./configure --without-svg
gmake install
and now the build runs to completion.
My *guess* is that something in configure looks for SVG support and stumbles on the Mono version.
I don't know if aquamacs is typically built with SVG support or without -- have I lost something by doing this --without-svg?
Would you mind posting what your Makefiles have for those SVG_LIBS variables, if anything? That would let me begin to figure out how I might work around this issue, if SVG support should be there.
Thanks,
R