2011-07-26 07:41:13     Investigating "can't resolve symbol"?

Document created by Aaronwu Employee on Aug 27, 2013
Version 1Show Document
  • View in full screen mode

2011-07-26 07:41:13     Investigating "can't resolve symbol"?

Gilles Ganault (FRANCE)

Message: 102669   

Hello

 

While launching an application on uClinux-dist 2010 through strace, I get the following trail:

 

[quote]

...

open("/lib/ld-uClibc.so.", O_RDONLY)    = 11

fstat(11, {st_mode=S_IFREG|0755, st_size=20396, ...}) = 0

close(11)                               = 0

 

open("/lib/libc.so.0", O_RDONLY)        = 11

fstat(11, {st_mode=S_IFREG|0755, st_size=247564, ...}) = 0

close(11)                               = 0

 

open("/lib/ld-uClibc.so.", O_RDONLY)    = 11

fstat(11, {st_mode=S_IFREG|0755, st_size=20396, ...}) = 0

close(11)                               = 0

 

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x9fa000

 

write(2, "", 0)                         = 0

write(2, "./asterisk", 10./asterisk)              = 10

write(2, ": can't resolve symbol '", 24: can't resolve symbol ') = 24

write(2, "_fork", 5_fork)                    = 5

write(2, "'\n", 2'

)                      = 2

 

munmap(0x9fa000, 4096)                  = 0

_exit(1)                                = ?

[/quote]

 

Is that type of error due to an issue in the application itself or a shared library (libc.so.0?) on which it depends? What is a good way to investigate this kind of error?

 

Thank you.

Attachments

    Outcomes