From owner-freebsd-questions@freebsd.org Sun Feb 17 19:03:26 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3F5814D9B8F for ; Sun, 17 Feb 2019 19:03:26 +0000 (UTC) (envelope-from trkellers@gmail.com) Received: from mail-it1-x12c.google.com (mail-it1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 34AE682783 for ; Sun, 17 Feb 2019 19:03:26 +0000 (UTC) (envelope-from trkellers@gmail.com) Received: by mail-it1-x12c.google.com with SMTP id m137so6464415ita.0 for ; Sun, 17 Feb 2019 11:03:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=ny0YUCjKqaU8E+xgK/WI+SBT2VYji6Q11b+s3QFBHkk=; b=YdCYV2JqINNGJH4sGXVoNIH/t6Ebsy0nGepghZ/ql/JtcRIgP5/XAhck12dsCDxGvu +yWrBJ3oTTDFvU4iycvMwvq46yiZJ5GtS8fe/8ugOsFTUiqEslouOmohgnc6GaAcn2FP +UY95XRGw1VDeSeficqa0cDaS6gfW0QmbBgucjU2s0tC7MoJN+eZAitBxWtMoxjjyS3b rVJLbPECGdmVQwa6hBnZ/O7mAs/XcLSsapAchvmF1FqBql1XCRy7wfNdxVXQuGGeBwpd iWC/9F5kIj0l0lIzJ3R0lAEgKx/WbMSVfoLYIhd2uRH5RABXZK7X6Jj952k0oNAbQzDU 1noA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ny0YUCjKqaU8E+xgK/WI+SBT2VYji6Q11b+s3QFBHkk=; b=AWwwIhRbr4FoWFBBT3baBPs7TgimMoGKClM9AIjBBNx1oQ82EaMy4HnUqR1dS2TgyK QC6uE4UV6ZGOU4AMuT1v3WaqavOtCUwxLoAob5gVreCw2gYVhpiTYCgNxwf4jdiJTddg l8gpopS1Gk4nO3F4+XxQsNHjgkc0RG2B9bw7kF2Yp7Ojxgotob3I7Kh5t7LitP/xnySR XBO8loUGT5Yx+mwDetWP20X5CwJUpj2eQ1lFA4IsSpPjkOU2lJ4BWi8bLac3Q5VvTIaI Tdm7TwAbzCpLs7xpwS6EsXv+uXYuiqRm4tYauyLInWaFkdyOSkSFc9SxOFn/Y3Qvsfom aXgA== X-Gm-Message-State: AHQUAuYtX4NmMgkCjk2YgUeDNtw2rabhfRWiRzXcW//EFcOw61UlIrK8 e367F+dWxHAph64Tge7s5Z3Je0iC X-Google-Smtp-Source: AHgI3IYV0Rg+VN9Yh/+rr5YVhn4M895LgAxgnl8Ix7C5X7InVt7NdYtz7Uh2G4ynlsSIBxuVMhqPNw== X-Received: by 2002:a24:1694:: with SMTP id a142mr997333ita.22.1550430204847; Sun, 17 Feb 2019 11:03:24 -0800 (PST) Received: from TIMs-iMac.frontierlocal.net ([50.36.29.197]) by smtp.gmail.com with ESMTPSA id c19sm4773733ioh.4.2019.02.17.11.03.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Feb 2019 11:03:24 -0800 (PST) Subject: Re: portupgrade confusion To: freebsd-questions@freebsd.org References: From: TIM KELLERS Message-ID: <73e4fc37-cf0a-ebd7-fd61-3e175a6ac924@gmail.com> Date: Sun, 17 Feb 2019 14:03:22 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 34AE682783 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.988,0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2019 19:03:27 -0000 On 2/17/19 4:42 AM, Odhiambo Washington wrote: > Whenever I upgrade a port on my FreeBSD-11.2, I always end up with the > following: > > ---> Cleaning out obsolete shared libraries > No such file or directory @ realpath_rec - /usr/local/lib/compat/pkg/db5 > No such file or directory @ realpath_rec - /usr/local/lib/compat/pkg/db5 > No such file or directory @ realpath_rec - /usr/local/lib/compat/pkg/db5 > No such file or directory @ realpath_rec - /usr/local/lib/compat/pkg/db5 > No such file or directory @ realpath_rec - /usr/local/lib/compat/pkg/db5 > No such file or directory @ realpath_rec - /usr/local/lib/compat/pkg/db5 > No such file or directory @ realpath_rec - > /usr/local/lib/compat/pkg/libQt5Network.so.5.12.0 > > What's the cause of this? > > BTW, other than 'portupgrade -a' what can I do to deinstall all ports, wipe > all libraries related to them and reinstall all the ports afresh?? > I am trying to see if there is a way to not have conflicting libraries. > > I had that problem a few months ago and this little piece of code fixed it for me: # change folder cd /usr/local/lib/compat/pkg # print dangling links find . -type l -exec test ! -e {} \; -print # delete dangling links find . -type l -exec test ! -e {} \; -delete Tim Kellers