From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3420 invoked by alias); 17 Apr 2002 12:06:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 3399 invoked by uid 71); 17 Apr 2002 12:06:02 -0000 Resent-Date: 17 Apr 2002 12:06:02 -0000 Resent-Message-ID: <20020417120602.3398.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, ww@mpi-sb.mpg.de Received:(qmail 2529 invoked by uid 61); 17 Apr 2002 12:01:52 -0000 Message-Id:<20020417120152.2528.qmail@sources.redhat.com> Date: Wed, 17 Apr 2002 05:06:00 -0000 From: ww@mpi-sb.mpg.de Reply-To: ww@mpi-sb.mpg.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: other/6335: version specific runtime libs are not found at runtime X-SW-Source: 2002-04/txt/msg00885.txt.bz2 List-Id: >Number: 6335 >Category: other >Synopsis: version specific runtime libs are not found at runtime >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Apr 17 05:06:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: ww@mpi-sb.mpg.de >Release: 3.0 - 3.0.4 >Organization: >Environment: At least Solaris 8 and Linux >Description: I use the configure option --enable-version-specific-runtime-libs together with a --prefix. The runtile libs for g++ (e.g. libstadc++.so.3) are then found at link time but not at runtime of the created binary. As a workaround I use an ugly wrapper witch adds the corresponding linker flag (e.g. for Solaris: -R/$MYPREFIX/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/), which is a real nightmare. The linker call must already posess the location of the libraries and should build it into the binary. >How-To-Repeat: A gcc buit with this option fails the g++ test of the groff source with, because the simple c++ program binary does not find libstdc++.so.3 >Fix: >Release-Note: >Audit-Trail: >Unformatted: