On Wed, Apr 14, 2010 at 2:17 PM, Mike Meyer <m...@mired.org> wrote:
> On Wed, 14 Apr 2010 12:44:32 -0400
> Leinier Cruz Salfran <salfrancl.lis...@gmail.com> wrote:
>
>> On Wed, Apr 14, 2010 at 12:32 PM, Tom Evans <tevans...@googlemail.com> wrote:
>> > On Wed, Apr 14, 2010 at 5:23 PM, Leinier Cruz Salfran
>> > <salfrancl.lis...@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
>> >
>> > The reason the library version is bumped is to avoid loading
>> > libpng.so.6 into a process looking for libpng.so.5. If you want to try
>> > it, you can use /etc/libmap.conf to map requests for libpng.so.5 into
>> > libpng.so.6 (and watch your apps crash instead of not running).
>>
>> we should keep in mind that new versions of libraries are built with
>> previous versions compatibility in order to avoid 'crashing'
>
> That's a false generalization. While it may be true for most
> libraries, it's definitely not true in all cases.

you have right mike

> Since I tend to do
> upgrades wholesale, I only find the ones where the breakage is exposed
> at the source level, so the last one I recall is when libgtkhtml
> changed the underlying print engine, breaking anything that depended
> on it for printing, like gnucash.
>

I want to share one thing:

I restarted my box right now (since I upgraded my box I haven't
restarted) and I saw one interesting thing:

 - before upgrade GIMP was able to load PNG files
 - after upgrade GIMP can't load PNG files
 - when I did the symbolic link GIMP was able to load PNG files ONCE AGAIN
 - I delete the symbolic link, then restarted my box AAANNNDDDD GIMP
is able to load PNG files ONCE AGAIN


there is happening something that I don't know yet???? somebody knows????
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to