This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Debug session - can't find dynamic libraries CCSv6.2

When loading the executable, I get:

GNU gdb (Linaro GDB) 7.8-2014.09
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <gnu.org/.../gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-arago-linux --target=arm-linux-gnueabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.linaro.org>.
Find the GDB manual and other documentation resources online at:
<www.gnu.org/.../>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
0xb6fe1c90 in process_dl_debug (dl_debug=0x0) at rtld.c:2252
2252    rtld.c: No such file or directory.
warning: Could not load shared library symbols for 3 libraries, e.g. /lib/arm-linux-gnueabihf/libpthread.so.0.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?

Temporary breakpoint 4, main () at ../main.c:69
69        int stat = 0;

What setting am I missing?

  • Ok so I found out that I may have had a bad lib path.  I changed it to the correct full one and got:

    Invoking: Cross GCC Linker
    arm-linux-gnueabihf-gcc -L/home/cyounger/ti-processor-sdk-linux-am335x-evm-03.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/lib -o "R3A"  ./CAN_ext.o ./R3_Crypto.o ./R3_can_utils.o ./R3_sbind.o ./R3_std_can.o ./TI_aes_128.o ./main.o   -lpthread -lrt
    /home/cyounger/ti-processor-sdk-linux-am335x-evm-03.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/lib/libgcc_s.so.1: file not recognized: File format not recognized
    collect2: error: ld returned 1 exit status
    makefile:35: recipe for target 'R3A' failed
    make: *** [R3A] Error 1

    That gcc_s.so.1 lib is in the path.  What doesn't it like?

  • I fixed the second post but not the first one.

  • Still having this problem.  Any ideas?