From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7358 invoked by alias); 19 May 2009 12:00:02 -0000 Received: (qmail 7231 invoked by uid 22791); 19 May 2009 12:00:01 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_51,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from qw-out-1920.google.com (HELO qw-out-1920.google.com) (74.125.92.149) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 19 May 2009 11:59:53 +0000 Received: by qw-out-1920.google.com with SMTP id 4so2437161qwk.24 for ; Tue, 19 May 2009 04:59:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.82.79 with SMTP id a15mr3152389qcl.57.1242734391249; Tue, 19 May 2009 04:59:51 -0700 (PDT) Date: Tue, 19 May 2009 12:00:00 -0000 Message-ID: Subject: dependency of GDB-6.8.50-27032009 on "libpython2.4" From: suma sharma To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-05/txt/msg00129.txt.bz2 Hi, I have a m16cm32c toolchain, which I have used to compile the following test case: #include 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