Date: Mon, 25 Apr 2016 00:41:12 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Odhiambo Washington <odhiambo@gmail.com> Cc: User Questions <freebsd-questions@freebsd.org> Subject: Re: Sane way to resolve potential conflicts in the system Message-ID: <20160424224112.GC66409@slackbox.erewhon.home> In-Reply-To: <CAAdA2WPZiBYxK9XL_ToAvWtQOiJ0Da7fqVBinyq10%2BMC10zz6A@mail.gmail.com> References: <CAAdA2WPZiBYxK9XL_ToAvWtQOiJ0Da7fqVBinyq10%2BMC10zz6A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--JgQwtEuHJzHdouWu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 23, 2016 at 02:03:40PM +0300, Odhiambo Washington wrote: > I quite often get the following warning: >=20 > /usr/bin/ld: warning: libz.so.5, needed by /usr/local/lib/libcurl.so, may > conflict with libz.so.6 > /usr/bin/ld: warning: libz.so.4, needed by /usr/local/lib/libssh2.so.1, m= ay > conflict with libz.so.6 Looks like your ports need updating! > What is the best way to resolve the two? Use a local server (or a jail on your workstation) as a build and test serv= er. On that server, keep the ports tree up-to-date and use e.g. portmaster to build all ports you need on *any* server. Then use rsync to distribute that server's /usr/local/ and /var/db/pkg/ to other servers. This is relatively fast and easy to automate. Of course this only works if all machines run the same architecture and major version. Note that after the /usr/local update, you need to re-install the local configuration files in /usr/local/etc and re-start the services running from /usr/local on every machine. This does mean that some machines will have software installed that they do= n't need. But as long as any services among them aren't enabled in rc.conf, I'd consider that acceptable for the sake of simplicity. But if necessary, you could make scripts to =E2=80=98pkg delete=E2=80=99 the stuff you don't need= on a per-machine basis. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --JgQwtEuHJzHdouWu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAABCAAGBQJXHUuIAAoJEED21dyjijPgb/AQAMphBrMjFOJsJfj/xYeHtvtW TYN8u1yHHPgSY9LiNJOjm13KVt/kBNHX6WgGdLQpRYS0WTzwGuvFdFv99zsCKZE8 zYqCs07ICp0Ed0Kmet7NPKP2UzbZ6i6u6hDs3edklqFJADjH/oe42U8faiCNBBEO IMeUbO6iFBnWliPa6EPaILsnlOcMXNZfSq+OXEu4GKyiSlCn2rAZe56kfaF4QEg1 BfW2DWlr9F41/lAe12p1woyXFfbaGNFLXmj/yp/X8xub0N8KBlggvsifuSQtoAxN 95Lu7OVRG+A9yb0v8ayEWJL6J0enJlPQFa//wNRisEZHoqzU3bUnJ1KCaR22ybOf RpfHk4gOLW+CcmwGkONGSZH7Y67N001OazBxLzgjjJfMTngUsHKOx4cx5k40dJDM FSPFpP8GG2jxNzE4OgCQ4ILK+BHIe9EFJQZ8QL0VfyYEE/Yg5I8Ju3vAofUChRIQ SR4g9zt1yizmB7/oM1HZmC3GjYHkKr9NivZhgq/O7G4lv4zwcXB/cpRL+lDX2whJ 5tYm0mXMKJP0uGanwo26IxEDXXDEySIKR2sBCpdXGR8V2A0ioSrqNqLWcxsTBxMH wcI0mrh05lXWdNxoqOdHSMhge5FQo+vwFdLWvgjSSkSbA649hE+ia+BrkJp6/Sc8 INlqroD4NI6Fu0PTooym =5dCs -----END PGP SIGNATURE----- --JgQwtEuHJzHdouWu--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160424224112.GC66409>