WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH][TOOLS] ioemu: linking fix for *BSD

To: xen-devel@xxxxxxxxxxxxxxxxxxx, "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][TOOLS] ioemu: linking fix for *BSD
From: Christoph Egger <Christoph.Egger@xxxxxxx>
Date: Thu, 14 Aug 2008 11:59:22 +0200
Cc:
Delivery-date: Thu, 14 Aug 2008 03:01:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080814093146.GL32102@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200808141059.20930.Christoph.Egger@xxxxxxx> <20080814093146.GL32102@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.7
On Thursday 14 August 2008 11:31:46 Daniel P. Berrange wrote:
> On Thu, Aug 14, 2008 at 10:59:20AM +0200, Christoph Egger wrote:
> > Hi,
> >
> > Attached patch tells the linker where to find
> >
> >         libxenctrl.so.3.2, libxenguest.so.3.2 and libxenstore.so.3.0
> >
> > when launching qemu-dm.
>
> This is bogus - the linker can find libraries just fine without
> requiring -rpath. If it doesn't, then you need to fix your ld.so.conf
> to point to the non-standard location that you're installing libraries
> into.
>
> Fedora forbids any use of -rpath, and Debian strongly discourages its
> use
>
> http://wiki.debian.org/RpathIssue
> http://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
>
>
> Daniel

ld.so.conf (for rpaths) is largely a hack to help people who can't relink 
binaries and don't want to / can't pollute system dirs.
rpath is the "elf way".  ld.so.conf is additional hack some ELF systems 
provide.  solaris doesn't, for instance.

-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel