Could not load shared library symbols

248 views
Skip to first unread message

Sebastian Diel

unread,
Apr 20, 2014, 3:23:35 PM4/20/14
to andro...@googlegroups.com
Hi,

when debugging I get the following error message:

"Could not load shared library symbols for 72 libraries, e.g.
/system/bin/linker."

With the recommendation:
"Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?"

In build&run settings I set the sysroot path to
"C:\android-ndk-r9d\platforms\android-17\arch-arm"
--> no change, still the same error msg

My debugger settings tab hase "use standard paths to debug information"
checked.
--> where can I set the solib search path?
--> where should that point to?
--> is that actually the problem/solution?

I use Qt Creator 3.0.0 with Qt5.2.0 on a Windows7 machine, debugging on a
- Samsung Galaxy SII, Android 4.2.2, CyanogenMod 10.1.3
- Samsung Galaxy SII, Android 2.3.4 Stock (same error msg)
The kit I use is Android Armeabi v7 gcc4.8, Qt5.2.1, the debugger is the
default gdb.
(I see the same error msg with the armeabi kit though.)

I have searched for days on this problem - I see that I am probably
lacking some concept knowledge of the debugging process.
Any idea, where I can find specific information about this part?

Sebastian


--
http://www.classintouch.de - Tablet-Software für Lehrer

Ray Donnelly

unread,
Apr 20, 2014, 6:45:07 PM4/20/14
to andro...@googlegroups.com
That error message is just informational from gdb. There are no
debugging symbols for those shared libraries so it reports that fact.

What is the specific problem that you have? I'm guessing it's a
general inability to debug?

I would suggest trying out Qt Creator 3.1 which was released 6 days
ago, but do please give more details and if possible share a test
project.

Best regards,

Ray.
> --
> You received this message because you are subscribed to the Google Groups
> "android-qt" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-qt+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Sebastian Diel

unread,
Apr 22, 2014, 4:32:04 PM4/22/14
to andro...@googlegroups.com
Hi,
on 04/21/2014 00:45, Ray Donnelly wrote:
> That error message is just informational from gdb. There are no
> debugging symbols for those shared libraries so it reports that fact.
>
> What is the specific problem that you have? I'm guessing it's a
> general inability to debug?
I did have some difficulties, but it meanwhile turned out, that this
inability had actually nothing to do with the above message, Qt 5.2. is
debugging by now.

"Could not load shared library symbols for 72 libraries, e.g.
/system/bin/linker."

If I understand you correctly, this message is just normal and can be
ignored, because it has not much to do with the Qt side of debugging -
those libraries are not part of Qt.

Thank you very much for answering,
Reply all
Reply to author
Forward
0 new messages