there is a way to avoid strict libraries linking?

Leinier Cruz Salfran salfrancl.listas at gmail.com
Wed Apr 14 16:46:13 UTC 2010


On Wed, Apr 14, 2010 at 12:42 PM, Gary Jennejohn
<gljennjohn at googlemail.com> wrote:
> On Wed, 14 Apr 2010 12:23:16 -0400
> Leinier Cruz Salfran <salfrancl.listas at 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
>>
>
> You might be able to do this with /etc/libmap.conf.  See the man page
> for libmap.conf(5).
>
> --
> Gary Jennejohn
>

hello and thanks gary .. I forgot 'libmap.conf' .. that could be a nice solution


More information about the freebsd-hackers mailing list