Ports and updating 6.2-STABLE to 7.0-PRERELEASE

Doug Poland doug at polands.org
Fri Oct 19 15:04:34 PDT 2007


Erik Trulsson wrote:
> On Fri, Oct 19, 2007 at 03:57:08PM -0500, Doug Poland wrote:
>> Hello,
>>
>> I've just updated my system to 7.0-PRERELEASE from 6.2-STABLE on i386 and I 
>> was wondering what the recommendation is for ports.  Specifically, is it 
>> necessary to rebuild all ports?
>>
>> So far, I haven't rebuilt any ports and haven't had any problems...
> 
> It is not strictly necessary to rebuild all ports, but I would recommend it
> and if you start to install any new ports then you should rebuild all the
> old ones first.
> 
> Having some ports linked against 6.x libraries while some are linked
> against 7.x libraries can very easily lead to problems.
> (If one of your old ports (linked against 6.x libraries) provides some
> library which is used by one of the new ports (using 7.x libraries) then the
> new port can end up using two version of the same system library - both the
> 6.x version and the 7.x version.  This will almost certainly not work
> correctly.)
> 
> 
Thank you for the info, I think I'll rebuild my ports.  I imagine I 
could then use


# portsclean --libclean

to get rid of those 6.x libraries and have a nice *clean* system.

-- 
Regards,
Doug



More information about the freebsd-questions mailing list