Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: suma sharma <sumasamyukta@gmail.com>
To: gdb@sourceware.org
Subject: dependency of GDB-6.8.50-27032009 on "libpython2.4"
Date: Tue, 19 May 2009 12:00:00 -0000	[thread overview]
Message-ID: <aaa6f2a40905190459p1bad14dcqbc2474ac74f17f41@mail.gmail.com> (raw)

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


             reply	other threads:[~2009-05-19 12:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-19 12:00 suma sharma [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aaa6f2a40905190459p1bad14dcqbc2474ac74f17f41@mail.gmail.com \
    --to=sumasamyukta@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox