From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 14 17:08:26 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4A93106564A for ; Wed, 14 Apr 2010 17:08:26 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 51EE68FC21 for ; Wed, 14 Apr 2010 17:08:25 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so54372eyd.9 for ; Wed, 14 Apr 2010 10:08:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:reply-to:x-mailer:mime-version :content-type:content-transfer-encoding; bh=NMkGqKEmmZzBy5raVN1pilPy/y2Nrf++glemTPVugy0=; b=A7en5rFnAoI4ij/0u/y0zNk75H2vEsVHVERII8apn+1JyBvxWIyaPwtCylAcsevjxQ CvHZ2Qza1KaG4XT6TkuqY4vbF/814XR7M1E1LvbzCx0744ZQzGNZBhRNGEClJA7qg/wk 9sIdkhHwD6JaQZ484UA9CcDt1dOba9rG33QhA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; b=eB36PsUlxleme9miqneMTIrpheVenp6KOvWPQ1C4AuO+tCbSB9qppo5fx0zX2/QZWw ZAkhK8pJET+v2ejNh3hISIwHtWpAHhJRm2z2YiGkAAkfxhim7ZfKyBjO4f00Rrqj3hQm cpXebMESrzbo/wWQhelNKgP3zcxWdDiIi+G0c= Received: by 10.103.3.17 with SMTP id f17mr4332570mui.123.1271263377871; Wed, 14 Apr 2010 09:42:57 -0700 (PDT) Received: from ernst.jennejohn.org (p57AE0031.dip0.t-ipconnect.de [87.174.0.49]) by mx.google.com with ESMTPS id e9sm3168660muf.10.2010.04.14.09.42.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 14 Apr 2010 09:42:57 -0700 (PDT) Date: Wed, 14 Apr 2010 18:42:54 +0200 From: Gary Jennejohn To: Leinier Cruz Salfran Message-ID: <20100414184254.63d0cdf9@ernst.jennejohn.org> In-Reply-To: References: X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 14 Apr 2010 17:14:24 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: there is a way to avoid strict libraries linking? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 17:08:26 -0000 On Wed, 14 Apr 2010 12:23:16 -0400 Leinier Cruz Salfran wrote: > hello all fbsd devs > > i want to know if there is a possibility to avoid current strict > libraries linking .. i will explain myself > > for example .. i have installed 'gtk' (2.18) that depends on library > 'libpng.so.5' (png) .. and i will upgrade 'png' port to a superior > version that install the library 'libpng.so.6' BUUUTTTT 'gtk' will not > be upgraded, so it will still depending on 'libpng.so.5' .. so here is > my question: there is a way to avoid this?????? i means that 'gtk' > load 'libpng.so' (that is a symbolic link to 'libpng.so.6') instead of > 'libpng.so.5' at runtime > > i think this is a VERY VERY strict rule because in linux programs load > 'lib*.so' instead 'lib*.so.#' except if that program was linked to > 'lib*.so.#' at compilation time > You might be able to do this with /etc/libmap.conf. See the man page for libmap.conf(5). -- Gary Jennejohn