Version: master branch. Why absent in list of 'Version:' field? My OS is Fedora-13. When I tried to call make with 'gconfig' target I got error: /usr/bin/ld: /dot-dot-dot/buildroot/output/build/buildroot-config/kconfig_load.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5' Attached path avoid this inconsistence. :)
Created attachment 2077 [details] patch
This patch is also in the mainline kernel, at http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cbab05f041a4cff6ca15856bdd35238b282b64eb, so: Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Patch in kernel notwithstanding, if gtk-2.0 apps need -ldl, I'm wondering why it's not included in the output of pkg-config --libs gtk+-2.0?
(In reply to comment #3) > Patch in kernel notwithstanding, if gtk-2.0 apps need -ldl, I'm wondering why > it's not included in the output of pkg-config --libs gtk+-2.0? May be, need to fill bugreport in GTK bugzilla instread of patching kernel, buildroot etc...
Bugreport filled in bugzilla of Gnome: https://bugzilla.gnome.org/show_bug.cgi?id=622585
Actually, kconfig itself calls dlsym(): buildroot/package/config$ grep dlsym * kconfig_load.c: name ## _p = dlsym(handle, #name); \
(In reply to comment #6) > Actually, kconfig itself calls dlsym(): Is this mean, bug independ to GTK?
(In reply to comment #7) > Is this mean, bug independ to GTK? Is this mean that this bug is GTK-independ? Sorry for my English
Now I understand (I think). This is not a fix to find the link line for GTK+ apps in general. Instead, this fixes the problem where gconfig needs the dl library. Now the fix looks right to me :-)
Committed, thanks