From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12409 invoked by alias); 27 Jan 2003 16:05:57 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12402 invoked from network); 27 Jan 2003 16:05:57 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 27 Jan 2003 16:05:57 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h0RFajf28073 for ; Mon, 27 Jan 2003 10:36:45 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h0RG5va23259; Mon, 27 Jan 2003 11:05:57 -0500 Received: from localhost.localdomain (vpn50-39.rdu.redhat.com [172.16.50.39]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h0RG5ut17545; Mon, 27 Jan 2003 11:05:56 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h0RG5o919876; Mon, 27 Jan 2003 09:05:50 -0700 Date: Mon, 27 Jan 2003 16:05:00 -0000 From: Kevin Buettner Message-Id: <1030127160550.ZM19875@localhost.localdomain> In-Reply-To: "Frank van Eijkelenburg" "RE: loading shared library" (Jan 27, 11:38am) References: To: , "Gnu Debugger mailing list" Subject: Re: loading shared library MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-01/txt/msg00430.txt.bz2 On Jan 27, 11:38am, Frank van Eijkelenburg wrote: > I don't understand why gdb tries to load a library from the host > (/lib/libpthread.so.0), while it needs the crosscompiled library from the > target. Or do I misunderstand something? You need to tell GDB where to find the shared libraries for the target. Use the ``set solib-absolute-prefix ...'' command to do this. Kevin