PDA

View Full Version : gdb does not work after installing gcc 4.8.1 on 12.04: "Unable to find dynamic linke"



vincegata
October 2nd, 2013, 05:10 AM
Hi,

I installed gcc 4.8.1 on Ubuntu 12.04 (I had to add ppa to do that) now gdb displays the following message:
Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code.Could not load shared library symbols for 5 libraries, e.g. /usr/lib/x86_64-linux-gnu/libstdc++.so.6. Use the "info sharedlibrary" command to see the complete listing. Do you need "set solib-search-path" or "set sysroot"?
I did google and I found this article to best answer my question:http://www.fayewilliams.com/2013/01/31/gdb-unable-to-find-dynamic-linker-breakpoint-function/
however I still do not understand what to do. Could someone help. THX!