Skip to contentSkip to conversation

New: make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

Buildroot bugzilla at busybox.net 1 participant 12 messages Jun 24, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=2095

Summary: make gconfig: undefined reference to symbol
'dlsym@@GLIBC_2.2.5'
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: trivial
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: slavazanko at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

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. :)

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 2095] make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

https://bugs.busybox.net/show_bug.cgi?id=2095

--- Comment #1 from Slava Zanko <[email protected]> --- Created attachment 2077
--> https://bugs.busybox.net/attachment.cgi?id=2077
patch

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
author Acked-by Thomas Petazzoni
#2 lore raw

[Buildroot] [Bug 2095] make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2095

--- Comment #2 from Thomas Petazzoni <[email protected]> --- 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:

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 2095] make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2095

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2010.08

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 2095] make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2095

--- Comment #3 from Mitch Davis <[email protected]> --- 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?

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 2095] make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2095

--- Comment #4 from Slava Zanko <[email protected]> --- (In reply to comment #3)

Quoted 2 lines

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...

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#6 lore raw

[Buildroot] [Bug 2095] make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2095

--- Comment #5 from Slava Zanko <[email protected]> --- Bugreport filled in bugzilla of Gnome:
https://bugzilla.gnome.org/show_bug.cgi?id=622585

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#7 lore raw

[Buildroot] [Bug 2095] make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2095

--- Comment #6 from Thomas Petazzoni <[email protected]> --- Actually, kconfig itself calls dlsym():

buildroot/package/config$ grep dlsym *
kconfig_load.c: name ## _p = dlsym(handle, #name); \

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#8 lore raw

[Buildroot] [Bug 2095] make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2095

--- Comment #7 from Slava Zanko <[email protected]> --- (In reply to comment #6)

Quoted 1 line

Actually, kconfig itself calls dlsym():

Is this mean, bug independ to GTK?

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#9 lore raw

[Buildroot] [Bug 2095] make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2095

--- Comment #8 from Slava Zanko <[email protected]> --- (In reply to comment #7)

Quoted 1 line

Is this mean, bug independ to GTK?

Is this mean that this bug is GTK-independ?

Sorry for my English

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#10 lore raw

[Buildroot] [Bug 2095] make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2095

--- Comment #9 from Mitch Davis <[email protected]> --- 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 :-)

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#11 lore raw

[Buildroot] [Bug 2095] make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2095

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #10 from Peter Korsgaard <[email protected]> --- Committed, thanks

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.