From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10419 invoked by alias); 10 Mar 2005 22:39:54 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 10412 invoked from network); 10 Mar 2005 22:39:51 -0000 Received: from unknown (205.217.158.180) by sourceware.org with QMTP; 10 Mar 2005 22:39:51 -0000 Received: (qmail 23899 invoked by uid 10); 10 Mar 2005 22:39:51 -0000 Received: (qmail 14778 invoked by uid 500); 10 Mar 2005 22:39:42 -0000 Mail-Followup-To: binutils@sources.redhat.com, matteo.pampolini@seleniacomms.com To: matteo.pampolini@seleniacomms.com Cc: binutils@sources.redhat.com Subject: Re: Linking against shared library linked to another shared one, please help References: From: Ian Lance Taylor Date: Thu, 10 Mar 2005 22:39:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-03/txt/msg00316.txt.bz2 matteo.pampolini@seleniacomms.com writes: > But my problem is not the linker warning, is the fact that the app doesn't > link at all > because of unresolved symbols (the ones implemented inside lb). Does liba have a DT_NEEDED entry for libb? You can find out using objdump -p. If you force the program to link using --allow-shlib-undefined, is it possible to run the resulting program? That is, does the dynamic linker succeed and does the program run? In particular, try it with the LD_BIND_NOW environment variable set. Ian