From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5039 invoked by alias); 14 Aug 2014 15:59:16 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 4977 invoked by uid 48); 14 Aug 2014 15:59:09 -0000 From: "bpshacklett at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/17251] RPATH of shared libraries doesn't follow symlinks for $ORIGIN Date: Thu, 14 Aug 2014 15:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bpshacklett at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-08/txt/msg00060.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17251 --- Comment #5 from Brennan Shacklett --- Well I defined __realpath in dl-realpath.c and included that into rtld-routines, doesn't that allow the linker to use it? I'm not sure what you mean about __realpath being broken with a non null 2nd argument, the version which I defined in dl-realpath doesn't even handle a NULL second argument (I didn't think it was necessary). Are you saying I should rewrite the dl-realpath version to handle that NULL and dynamically allocate its own memory? There is a more detailed explanation in my mailing list post here: https://sourceware.org/ml/libc-alpha/2014-08/msg00160.html if you want more details. -- You are receiving this mail because: You are on the CC list for the bug.