Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2010 18:42:54 +0200
From:      Gary Jennejohn <gljennjohn@googlemail.com>
To:        Leinier Cruz Salfran <salfrancl.listas@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: there is a way to avoid strict libraries linking?
Message-ID:  <20100414184254.63d0cdf9@ernst.jennejohn.org>
In-Reply-To: <n2ya2585ef1004140923s2acb8b2ctf7c9b449cb66f208@mail.gmail.com>
References:  <n2ya2585ef1004140923s2acb8b2ctf7c9b449cb66f208@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Apr 2010 12:23:16 -0400
Leinier Cruz Salfran <salfrancl.listas@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100414184254.63d0cdf9>