Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2009 17:28:25 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Pieter de Goeje <pieter@degoeje.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: what is the best way to remove a program?
Message-ID:  <4A352529.7010902@infracaninophile.co.uk>
In-Reply-To: <200906141605.45421.pieter@degoeje.nl>
References:  <4096aedd0906140558x5ad1b562h2c43a0b36051a40e@mail.gmail.com> <200906141605.45421.pieter@degoeje.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Pieter de Goeje wrote:

> This will replace mysql50-client with mysql51-client and reinstall all ports 
> depending on mysql50-client ("-rf"), so they will use the new version. In this 
> case the last step probably isn't necessary because the libraries are (mostly 
> I think) compatible, but in general it is recommended.

Rebuilding all dependents when upgrading from mysql50 to mysql51 is absolutely
required.  mysql50-client installs ${LOCALBASE}/lib/mysql/libmysqlclient.so.15
whereas mysql51-client installs ${LOCALBASE}/lib/mysql/libmysqlclient.so.16
-- note the changed ABI version number.  Unless you use portupgrade(1) 
or save a copy of the old shlib by other means, anything that linked against
libmysqlclient would be rendered inoperable by the change, and must at least be
re-linked.  Yes, the APIs have not changed, but APIs are a matter for programmers
at the time of writing the source code -- once compiled, it's the ABI that counts.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAko1JS8ACgkQ8Mjk52CukIzYZgCePWZuH2ROhHN3taKoSn5scv/F
RHEAnA8VbLTLOSMUNv0k1dqJolJ3CrpH
=4oi0
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A352529.7010902>