"symbol '': can't resolve symbol"

Stéphan Kochen stephan at kochen.nl
Sun Jul 27 14:09:07 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I have a problem executing several application with uClibc. Busybox
appears to be working fine, even when linked dynamically. But, for
example, dbus-daemon and bluez-util's hcid immediately exit with errors
similar to the following:

  dbus-daemon: symbol '': can't resolve symbol in lib 'dbus-daemon'.

I was able to obtain the full output of LD_DEBUG=all, and uploaded it at
the following location:
  http://stephan.kochen.nl/proj/wii-oe/dbus-daemon_ld_debug.txt

The environment I'm using is OpenEmbedded, cross-compiling on an x86 for
PowerPC 750 (specifically, a Nintendo Wii). I produced the error above
with uClibc from SVN, revisions:
 * 21996 (from about two months ago)
 * 22935 (latest at the time of writing)
I've also tried 0.9.29, which simply segfaults.

Now I really don't understand much of what is going on here. I cannot
explain what appears to be garbage during the libexpat relocations;
readelf and objdump seem to handle the file without any issues. However,
the 'nameless' symbol that actually causes the program to exit appears
to refer to this entry in .dynsym of dbus-daemon:

   Num:    Value  Size Type    Bind   Vis      Ndx Name
     1: 00000114     0 SECTION LOCAL  DEFAULT    1

The exact dbus-daemon and libexpat binaries I used are available at:
  http://stephan.kochen.nl/proj/wii-oe/dbus-daemon
  http://stephan.kochen.nl/proj/wii-oe/libexpat.so.1.5.0

This is as much as I understand about the problem; I'm not sure how to
proceed. I'll be happy to provide any more info at request. Can anyone
help me with this problem?

Thanks in advance,
- -- Stéphan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIjIGDcFUq0gzqDwQRAi58AKDhrZPytIhjRZscu3P+sHKxDq3aKACgvyih
RstqvrXv61DY3F1flepXuVg=
=Mvks
-----END PGP SIGNATURE-----



More information about the uClibc mailing list