From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18401 invoked by alias); 15 Dec 2009 12:23:21 -0000 Received: (qmail 18390 invoked by uid 22791); 15 Dec 2009 12:23:20 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Tue, 15 Dec 2009 12:23:13 +0000 Received: (qmail invoked by alias); 15 Dec 2009 12:23:10 -0000 Received: from p54941568.dip0.t-ipconnect.de (EHLO activate.adobe.com) [84.148.21.104] by mail.gmx.net (mp016) with SMTP; 15 Dec 2009 13:23:10 +0100 From: Philipp Thomas To: gcc-help@gcc.gnu.org Subject: Re: Can I stop linking the same library twice? Date: Tue, 15 Dec 2009 12:39:00 -0000 Message-ID: References: <4B23799B.3040101@onetel.net> <4B257A8B.10105@onetel.net> In-Reply-To: <4B257A8B.10105@onetel.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg00215.txt.bz2 On Sun, 13 Dec 2009 23:36:43 +0000, you wrote: >What could you do if the system supplies a library, but it's not the lates= t=20 >release, and you need the latest? Either explicitely link in the static version of said library or install the dynamic library somewhere else and link it in by passing the path to ld via -L and then adding said library to the users LD_LIBRARY_PATH. Philipp