Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* dependency of GDB-6.8.50-27032009 on "libpython2.4"
@ 2009-05-19 12:00 suma sharma
  2009-05-21 17:40 ` Tom Tromey
  0 siblings, 1 reply; 5+ messages in thread
From: suma sharma @ 2009-05-19 12:00 UTC (permalink / raw)
  To: gdb

Hi,
I have a m16cm32c toolchain, which I have used to compile the
following test case:
#include<stdio.h>

int main()
{
        int i=10, j=20, k;
        j++;
        if(j>20)
                printf("%d",j);
        else
                printf("%d",i);
        return 0;
}

I compiled the test case using the following command:
$ /usr/share/m16cm32c_elf-1/bin/m32c-elf-gcc test_gdb.c -msim -g -o test_gdb.out

I have built the gdb utility i.e. m32c-elf-gdb and m32c-elf-gdbtui
using GDB-6.8.50-27032009 on an FC5 system.
When I try debugging the output file " test_gdb.out" on FC7 using the
following command:
$./m32c-elf-gdbtui test_gdb.out
I get the following error:
--------------------------------------------------------------------------
./m32c-elf-gdbtui: error while loading shared libraries:
libpython2.4.so.1.0: cannot open shared object file: No such file or
directory
--------------------------------------------------------------------------

The FC5 system where the GDB was built has "libpython2.4.so" at
"/usr/lib", while the FC7 system where I am using the GDB for
debugging has "libpython2.5.so" at "/usr/lib".
Why does GDB-6.8.50-27032009 have a dependency on "libpython2.4",
whereas "GDB-6.8.50-11102009" doesn.t seem to have any such dependency
on any "libpython"? :(

Could anyone please help me?
Thanking you in advance.

Regards,
Sumasamyukta


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-05-22 20:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-19 12:00 dependency of GDB-6.8.50-27032009 on "libpython2.4" suma sharma
2009-05-21 17:40 ` Tom Tromey
2009-05-21 18:14   ` Eli Zaretskii
2009-05-22 16:59     ` Tom Tromey
2009-05-22 20:04       ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox