From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32612 invoked by alias); 30 Apr 2003 16:23:11 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 32596 invoked from network); 30 Apr 2003 16:23:11 -0000 Received: from unknown (HELO smtp-relay-3.sea.adobe.com) (192.150.22.10) by sources.redhat.com with SMTP; 30 Apr 2003 16:23:11 -0000 Received: from inner-relay-3.corp.adobe.com (inner-relay-3 [153.32.251.51]) by smtp-relay-3.sea.adobe.com (8.12.9/8.12.9) with ESMTP id h3UGMohq000265 for ; Wed, 30 Apr 2003 09:22:59 -0700 (PDT) Received: from iplan-mn.corp.adobe.com (iplan-mn.corp.adobe.com [130.248.25.5]) by inner-relay-3.corp.adobe.com (8.12.9/8.12.9) with ESMTP id h3UGKnnl005789 for ; Wed, 30 Apr 2003 09:20:50 -0700 (PDT) Received: from [130.248.25.184] ([153.32.12.150]) by iplan-mn.corp.adobe.com (Netscape Messaging Server 4.15 mn Jul 11 2001 16:32:57) with ESMTP id HE602O00.VRC; Wed, 30 Apr 2003 11:20:48 -0500 User-Agent: Microsoft-Entourage/10.0.0.1331 Date: Wed, 30 Apr 2003 16:23:00 -0000 Subject: Re: Strange Solaris non-problem From: John Love-Jensen To: murray CC: Message-ID: In-Reply-To: <3EAFDADC.969A2672@geocom.com.au> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-SW-Source: 2003-04/txt/msg00273.txt.bz2 Hi Graeme, > I have no complaints about the program working, but I don't understand > what just happened. Could someone offer any comment? Have I left a > problem here which might bite me later? Which .so is used is dependent on your LD_LIBRARY_PATH when the application is run. If you want a specific path (absolute or relative) for your shared library resolution, use the -rpath parameter in your build, using GNU ld. There are a couple security concerns using a relative rpath. On a secure machine, that shouldn't be a problem. --Eljay