Original bug report at https://bugzilla.redhat.com/show_bug.cgi?id=565114 Fedora, Ubuntu and other distributions changed the linker default behavior to --no-add-needed. The rationale for this change is outlined in http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking With --no-add-needed rostretto 0.0.22 fails to build: /usr/bin/ld: ristretto-main_window.o: undefined reference to symbol 'XInternAtom' /usr/bin/ld: note: 'XInternAtom' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line /usr/lib/libX11.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status In order to fix this, I changed: --- ristretto-0.0.91.orig/src/Makefile.in 2010-07-12 23:17:27.000000000 +0200 +++ ristretto-0.0.91/src/Makefile.in 2010-07-13 12:46:30.000000000 +0200 @@ -146,7 +146,7 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ -LDFLAGS = @LDFLAGS@ +LDFLAGS = @LDFLAGS@ -lX11 LIBEXIF_CFLAGS = @LIBEXIF_CFLAGS@ LIBEXIF_LIBS = @LIBEXIF_LIBS@ LIBEXIF_REQUIRED_VERSION = @LIBEXIF_REQUIRED_VERSION@ Of course this should needs to happen in Makefile.am, but I'm just a lazy packager.
Confirmed.
(In reply to comment #1) > Confirmed. Fixed in 0.0.92