GNOME Bugzilla – Bug 406653
gthumb fails to import photos when compiled with LDFLAGS="-Wl,--as-needed"
Last modified: 2007-02-12 10:42:12 UTC
Please describe the problem: Compiling gthumb with LDFLAGS="-Wl,--as-needed" currently results on libphotoimporter crashing gthumb. A similar bug is described at : http://lists.pld-linux.org/mailman/pipermail/pld-users-pl/2006-November/063429.html Can't read the language but at least the error and the fix are similar although the fix is not quite right. Steps to reproduce: 1. compile gthumb with LDFLAGS="-Wl,--as-needed" 2. launch gthumb and try to import photos from camera Actual results: gthumb crashes saying libphotoimporter cannot resolve some symbols Expected results: gthumb doesn't crash Does this happen every time? yes Other information: will attach the patch used by gentoo
Created attachment 82312 [details] [review] gthumb-2.8.1-as-needed.patch this is the fix used on gentoo, it is actually present since 2.6.9 it seems.
I tried to compile the current development version (svn trunk) with LDFLAGS="-Wl,--as-needed" and it did'nt crash, so I think it's fixed now.
it's indeed fixed in svn head, sorry for the noise
gaaah, forgot to ask if you plan to release a fixed version of 2.8 series ?
yes