Re: RFC: 5.3 Migration Guide

From: Maxim Sobolev (sobomax_at_portaone.com)
Date: 09/07/04

  • Next message: Matthias Andree: "Re: BETA3 showstoppers (read: critical bugs)"
    Date: Tue, 07 Sep 2004 18:14:33 +0300
    To: "Bruce A. Mah" <bmah@freebsd.org>
    
    

    Bruce A. Mah wrote:

    > On Sun, 2004-09-05 at 17:24, Joe Marcus Clarke wrote:
    >
    >>On Sun, 2004-09-05 at 20:06, Michael Nottebrock wrote:
    >
    >
    >>>The pthread libraries change probably requires people to recompile things
    >>>linked to it if they're migrating from 4.x - users updating from 5.x-Releases
    >>>can get away with setting up libmap.conf (maybe this is true for updating
    >>>from 4.x as well, can some threads expert comment on it?).
    >>
    >>Users should really rebuild ALL ports when upgrading from 4.X to
    >>5.3-RELEASE. Only simple applications that only rely on libraries in
    >>compat4x will work correctly. Others, for example GTK+ apps, may link
    >>to both libc_r.so.4 and libpthread.so.1. That could spell disaster.
    >
    >
    > Hmmm...OK, that's more conservative than I was originally led to
    > believe. I'll try something like "in general, executables should be
    > recompiled; simple apps might work; in particular C++ and threaded apps
    > *do* need to be recompiled". (Use your imagination to turn that into
    > real English.)

    Actually this is inaccurate. Existing 4.x binaries will continue working
    with 4.x libraries, but if you try to compile some new binaries that
    need to be linked to either C++ or pthreads libraries, those new
    binaries won't work. Even worse things will happed if you try to
    recompile or update to the new version and reinstall some old libraries
    that use C++ code or pthreads and don't recompile binaries or libraries
    that use those them - all of the dependent binaries stop working.

    Something along the lines:

    You can use your existing installed applications compiled on 4.x after
    migration, but remember that once you need to update some installed
    application to the new version or install new ones you have to
    recompile every package installed on your machine. This should be done
    in dependency order - the easiest way to do it is to create list of all
    installed packages, remove all packages and recompile/reinstall
    everything from scratch.

    -Maxim

    >
    >
    >>I would also mention /usr/ports/UPDATING in this document. There are a
    >>lot of useful hints in there when it comes to upgrading things such as
    >>Perl and X (as well as the recently recent KDE 3.3). Plus, it would
    >>give this file much needed publicity.
    >
    >
    > Thanks for mentioning that; I'd forgotten. I'll put a reference to this
    > and ports/CHANGES at the end of section 4.
    >
    > Thanks, guys!
    >
    > Bruce.
    >

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Matthias Andree: "Re: BETA3 showstoppers (read: critical bugs)"

    Relevant Pages

    • Re: are there any documents on how an application can deploy itself to a Solrais environment politel
      ... And the right way to do this is to install the binaries and libraries ... specific ld.config file (also pointed to with the $ORIGIN keyword) ...
      (comp.unix.solaris)
    • Re: Installing a 64 bit OS or keeping a 32 bit OS?
      ... You will need to install some 32 bit system libraries ... bit ubuntu so cannot be sure here. ... But if I install a 32bit application, I also need to install a 32bit ... compiler to build 32 bit binaries. ...
      (Ubuntu)
    • Re: Running 3.x binaries
      ... > 2) Copy over the old libraries and install them in the usual ... get you most if not all of the required libraries (comment out the ... Old binaries will try and link to the new shlib and may ... That's standard procedure on FreeBSD.org lists. ...
      (freebsd-questions)
    • Re: Fast releases demand binary updates.. (Was: Release schedule for 2006 )
      ... > binaries, including X11, KDE, printing, Mozilla, etc worked just fine. ... > Upgrading the ports from there was somewhat annoying, ... libs/apps from pkg_add which are trying to link to libraries installed via ... grab binaries and install them... ...
      (freebsd-current)
    • Re: Framework 1.1 references
      ... version of those libraries. ... you recompile it in vs.net 2003 they will use the v1.1 dlls, ... > I have obviously missed something on the install from my MSDN discs that ... > new versions did not get installed in the GAC. ...
      (microsoft.public.dotnet.framework.setup)