From owner-freebsd-questions@freebsd.org Sat Apr 23 11:35:01 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 D574DB1AE06 for ; Sat, 23 Apr 2016 11:35:01 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 6F9291038 for ; Sat, 23 Apr 2016 11:35:01 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id u206so61216544wme.1 for ; Sat, 23 Apr 2016 04:35:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=GRvNYsQTcKU5EnPTw91AcuedOI2nMIr4JV+1J7zPPDM=; b=cxPoRBOudIjwCB4UN7s0yBWpI+TyhCskdJOspFPH1jsHDmzJ6n+sfOf5m3h3AjkSap GMLc6v0c5ZgjD5njUE9wAjItbrO4blzcCp9RyrzsQkogyG/sitfhuuvLClNV//dhvhQk ETzoatgrX4FkY4mDNtM27H+5fSNrCbY2C37gtNwgQOIk2LULkmUH0Mo8T/auIlMMQFpt iWQCv1WrCXravleLFSlK3lNWonlxrMhkOuHz7FWJj6lH6gapiQH2BKmukS7wj3n0xYAy q025jjzDKLJMr8gHTGj2aegSjzQnLtcNgEHimXcXkfyQTwC1tZ+xjLQLI77s2y5VfIEW Cg1A== 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:date :message-id:subject:from:to:cc; bh=GRvNYsQTcKU5EnPTw91AcuedOI2nMIr4JV+1J7zPPDM=; b=Mrp6pBbNUEaQuq1ot5mMJT9zXm6khXa+Qejrz0+33od4tg2uglYRBgKinZwOSYTIUH kSK64Z8qznAJCdb14xc3F8OupH6g/lwymf9SmssH4xOpDkxKfARy6LBPHuFzPOa+VAn1 JFr9WBBgiiXyMg/65RTx8tvjMyv5TakBsvjIsCSsSLoCfODzDHiKfOD6CMikJUELy4GX fATfNA88KQCLk3wEUoxGjuIuIASaKv5J9s6nxQRoSdQYXvJFklmNxcNs3RHQ8ZYd8AyZ 2sQrJwkFqeAsQLilYigQ36ar1u0i03hnmenh6xCeDoR/0hXRBRlMMEQWtrR4C3ny3QC6 oqcg== X-Gm-Message-State: AOPr4FXSIE1RsCUedcBJMtWQRT8RQ03WS4baDcl4gch87LlQ+XTBDiBBEbTwl/HQpPUW4+zCi0oJlR6B+qNWPw== MIME-Version: 1.0 X-Received: by 10.28.165.216 with SMTP id o207mr2092497wme.31.1461411300117; Sat, 23 Apr 2016 04:35:00 -0700 (PDT) Received: by 10.194.42.41 with HTTP; Sat, 23 Apr 2016 04:35:00 -0700 (PDT) In-Reply-To: References: Date: Sat, 23 Apr 2016 13:35:00 +0200 Message-ID: Subject: Re: Sane way to resolve potential conflicts in the system From: Ben Woods To: Odhiambo Washington 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 11:35:01 -0000 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 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. Regards, Ben