This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
dependency of GDB-6.8.50-27032009 on "libpython2.4"
- From: suma sharma <sumasamyukta at gmail dot com>
- To: gdb at sourceware dot org
- Date: Tue, 19 May 2009 17:29:51 +0530
- Subject: dependency of GDB-6.8.50-27032009 on "libpython2.4"
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