From nobody Sun Jul 09 16:37:01 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QzXrG5jbtz4m7h1 for ; Sun, 9 Jul 2023 16:38:22 +0000 (UTC) (envelope-from ronald@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QzXrG1bnlz3QRx for ; Sun, 9 Jul 2023 16:38:22 +0000 (UTC) (envelope-from ronald@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688920702; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P2atvVsTz7KkvDhn8kLvspCkKnKm8l2m1Ioo4maEnkA=; b=fEe9tdeWnlwjmNFJGdDJ4Qg0WFT/hc1vRAanajJKmgOiACI6Xs76+OrapZa0lBkWgdVmZe 61ZfCRb0Pf+i4dOCw/2vnBMdRKOwAPnzfFEmHJbdb4aH5Oh6zEuL0HY3CDzmyj4DazMhm/ 4tZV86cNiSukPCGET29rkoGwknLm5H8hkWhaewjsJROkv4Z4QJ+jPlr383VsYUfPL6smQG PaUN8R+p/n7x2kS/h9pbV0bgpS2WJ8mj3Ftt1Q4Fa2lx+uDBt6IiVFfrf3eh6KnpDp9pC0 e3Xe4YTxlqNSkHR8YRrckwUQghJzdJyIJWosA23wg0c7ftPdK/y6mAQmiLSx+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688920702; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P2atvVsTz7KkvDhn8kLvspCkKnKm8l2m1Ioo4maEnkA=; b=sk97ZktmiF0EM/q0T+WLlvO3NJUOMrsvfTBWLtS/ZX8Xw4cRzRuOKVcSo75rmu5O9rd5Za Fo3sfzS0vkfV0me1p3xs+C2RTOMrV77AuWY3QONUpt49PoX7fP/XHzNxA8jQrwqWztA3y3 wxnB++bkB93GQZx+5JpM0KQHnQZQ7n1f0o+CgTlCeuFV0hqjGBqTCq50+G9zxwHStIUP3j Zbg4wXs6/3o7hs8xB36IwZc0geIezIE8czekGB1MLIrMfxan9/sfu4yrwF9UL6NSQA3k4O onP0UbaghD0UFiIq0CeyymlfhYlj7VfAmywGnD29Moyg35GGlVgTfJJCzzL7Fg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688920702; a=rsa-sha256; cv=none; b=UFDIE0s6dXKMjOV/k9Ir10IhQmEi7oQ5ua0pLvma5LfBqKACAT73FNuNa8DumCqKZXoebK ENgJWT0v5DiHZKEa5mbXt8LBaxVdczKSX4wiAFB8t8QpwJQ8AKZ9aC7CS9E3baUvRdEye+ hOJe4fiJJH9zBYpw/HIrIbYMTmHTEZ9RvdzFc2scx6UM3X/yBUFP4qOv0rWNpv6gzUVNlH h9WEIgGAmlMT6lJcHELv0VY+2bEHN7e8t+u8EAccGsj1g3dRZ1br1jvP93HirEoipkcod8 rqz6p/vU1ILyTpOFFY+mx6gydZthO2b/keLs6FpHDSRtkIKHGy+3c2nwQmfNEA== Received: from [192.168.1.109] (84-105-120-103.cable.dynamic.v4.ziggo.nl [84.105.120.103]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: ronald/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4QzXrF634fzjVN for ; Sun, 9 Jul 2023 16:38:21 +0000 (UTC) (envelope-from ronald@FreeBSD.org) Message-ID: Date: Sun, 9 Jul 2023 18:37:01 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: problems on new -current install with pkg/ssl To: freebsd-current@freebsd.org References: Content-Language: en-US From: Ronald Klop In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N On 7/9/23 18:27, void wrote: > On Sun, Jul 09, 2023 at 05:17:38PM +0100, void wrote: >> Hi, >> >> On a fresh 14-current install (main-n263444-653738e895ba) >> I try to use pkg for anything and this error >> happens: >> >> # pkg install doas >> The package management tool is not yet installed on your system. >> Do you want to fetch and install it now? [y/N]: y >> Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest, please wait... >> Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done >> Installing pkg-1.19.2... >> Newer FreeBSD version for package pkg: >> To ignore this error set IGNORE_OSVERSION=yes >> - package: 1400092 >> - running kernel: 1400090 >> Ignore the mismatch and continue? [y/N]: y >> Extracting pkg-1.19.2: 100% >> ld-elf.so.1: Shared object "libssl.so.30" not found, required by "pkg" >> >> How can I fix? > > I was able to fix this by downloading https://download.freebsd.org/ports/ports/ports.tar.xz > manually to /usr and building from the ports tree > If you upgrade your FreeBSD 14 to the latest version it will work also. OpenSSL 3.0 is imported into 14 which gives a small overlapping time window in which users can still be running older FreeBSD versions with OpenSSL 1.1.1 while the official pkg repo compiles using 3.0. After you upgraded FreeBSD please make sure to upgrade pkg to use openssl3.0 before you run "make delete-old-libs". Regards, Ronald.