From owner-freebsd-questions@freebsd.org Sat Apr 23 12:00:52 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E2DDB19ABF for ; Sat, 23 Apr 2016 12:00:52 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FBAE102D for ; Sat, 23 Apr 2016 12:00:52 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id u206so61775225wme.1 for ; Sat, 23 Apr 2016 05:00:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6sRYDNMxKBnoBzLzq8uw23N3A7ZPUtPWSrzYLlUaCnE=; b=FxX4IQqfThKcfbF3r/zSfhccozW3mfj7fC4vNRXVdJsE0DtjY8alz9HcIJOS32lbXg Od1y5iHEAsmDKYOsXFqdVcT0hlHvop1IZH207vHftE7R5EwZE+4BD4ym3qPdC7cloN9e +Xm4uZI/R2Sv4ls/x1hKpQD3FPp3IhiqT1pSAbVR6YPmG8mHJBU/KnER6whB30EzuK4C H7lql0cG2w8GPIq9U8ok/689mA0xx45utlbIW4cpv4UbjcyJUD/YE4k5eeMBmM9WLHP/ Hdn+Jtn7oTWu9HqZomgP7bnZjZDtwRIlPG2iuxgprPVVnH8AAq6MBARkNbRCVa+YJCxR cOqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6sRYDNMxKBnoBzLzq8uw23N3A7ZPUtPWSrzYLlUaCnE=; b=FLUF4FLMidaqXTUvbollDPIty4QzJBVPVCOV6HZt9lwmTPBnwuD4YMGFC7zpKQpjbw J6ZVEvhmhYEACQQG/JTv6EIShzcfXlQaVjmk5WK7NWUwEySXE4DWCuTiq4rew5+yZb6g 8yD7vwDGAZYOEPI6KGLxyrJLLfivbiqbOLOlgAxah9iKE4OrAAMeBW0nzSZGHuoPzwNu ijuOlx/r9JOLLYH7I5vlplaORqGBGf910VMqxnHkfu2LjI/7pQzvaIGkfOnb9++SxMvd nVlez6FKmTffqPy7mRVhlNfqLqzPueX4fQQj+hUjCg/q7Gmyea+I++fGEWY5aLM/3lgK OFZA== X-Gm-Message-State: AOPr4FVZ1cVySQo3rPOqbq/8oRb4ww5MzsldLJlupXFwRZWpqoMqTWyukNWkN5jSl47siMsCN6gvE8hoFbwL6g== X-Received: by 10.28.236.88 with SMTP id k85mr2369417wmh.53.1461412850521; Sat, 23 Apr 2016 05:00:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.103.233 with HTTP; Sat, 23 Apr 2016 05:00:10 -0700 (PDT) In-Reply-To: References: From: Odhiambo Washington Date: Sat, 23 Apr 2016 15:00:10 +0300 Message-ID: Subject: Re: Sane way to resolve potential conflicts in the system To: Ben Woods Cc: User Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2016 12:00:52 -0000 On 23 April 2016 at 14:35, Ben Woods wrote: > On 23 April 2016 at 13:03, Odhiambo Washington wrote: > >> I quite often get the following warning: >> >> /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, >> may >> conflict with libz.so.6 >> >> What is the best way to resolve the two? > > > It looks like you have not been removing old libraries when updating your > base system. Have you been updating from source? If so, one of the last > steps you should follow (after reboot and rebuilding all packages to suit > the new system), you should be using: > $ cd /usr/src > $ make check-old-libs > $ make delete-old-libs > I always do that. > > Beware - if you haven't rebuild your packages on the new source tree, they > may be linking to old base system libraries, and break if you now remove > them. Rebuild all packages first. > I believe that explains it. I should plan a portupgrade -a one of these days I suppose. However, doing that on a production server (from remote) is such a scary thing:) Is there a way to address just these two cases for now? > -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft."