there is a way to avoid strict libraries linking?

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


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


More information about the freebsd-hackers mailing list