From owner-freebsd-current@freebsd.org Mon Dec 14 13:03:27 2015 Return-Path: Delivered-To: freebsd-current@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 3F495A43C58 for ; Mon, 14 Dec 2015 13:03:27 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (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 ECB0D1580 for ; Mon, 14 Dec 2015 13:03:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by qkck189 with SMTP id k189so97183572qkc.0 for ; Mon, 14 Dec 2015 05:03:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=wTpCHrPKK/alGdk9Qi3AQ1RcIKXqW1gM7VLvvpOLFsE=; b=pHHjDHwzrIJrPnDKjWLUeV596LFT79TX5m3xtS4LiDyygGn1CxcuiZWgLldM6H8/OL fyUBeYimp35c1q0+ltCRi4hcrHuNq/q/MpnHWXbGr2QyBOzVrvy3Ofvk4lAzsxSTP1j3 /JEWiH+Icorn8XuMGNzlAMAn5snFljXc2nNskm0Rexl1EMYdt3iD5igisSHYa+pmNXi3 htacC9cQlaDQW7b5t7tu8m5z2zI1nvzkJoBnpej4y+e1U3EfsOYWChf6F1lcGdhPtD/L +KRVmNUtXSfcRi7953d3P2dn5Gx0E4lKFUEDioFjgepB+9mn2NEwuDToGSkvoTnSOWOI 24jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=wTpCHrPKK/alGdk9Qi3AQ1RcIKXqW1gM7VLvvpOLFsE=; b=X3rFPjwjON0MOzZaWQC4Wv8ToBUpYn1+J8GLTtjjCe8YO0O+SCM8ukIcUixrUtv6qC 3CtoeIgkLE10v4qb9eOgtDsehSW7qyhitInkvllKNu2Y/LwEvfDoHeDPeBxVWWpmyRpB +wgyeGgO/AVQjOu0X24Oe8OiR0cUfbxkyabhXBgUpghilQUbEzqMSmxEOEAfs1FxJHDv Y9d6uo/Db/8aVw1YI+giRyX4K1Q9aC6O2dI6QZvXDifs92jfcccFE1+fm+E2nPHzfODn COhwdBj++7gz7Pd3EMhLOKrJmjc0/IPvTUFVr5jNqKC1NwyH1223VXRb2MPNSFNILRqC pWgQ== X-Gm-Message-State: ALoCoQm1EKnfcmj29+sVhkybDk0xLZIiyIXxTs/ELbzsvbW8Qg8bT5V6iEWzBijRFWSLhYmGMm8Iq0WTsmKu2W7958uGdmJNvw== MIME-Version: 1.0 X-Received: by 10.55.80.68 with SMTP id e65mr43383589qkb.46.1450098205675; Mon, 14 Dec 2015 05:03:25 -0800 (PST) Sender: wlosh@bsdimp.com Received: by 10.140.27.181 with HTTP; Mon, 14 Dec 2015 05:03:25 -0800 (PST) X-Originating-IP: [2601:280:4900:3700:4020:26e2:d346:a935] In-Reply-To: References: <20151214071840.GA3771@c720-r285885-amd64> Date: Mon, 14 Dec 2015 06:03:25 -0700 X-Google-Sender-Auth: gq4so3Hdnxc6PC1oPdKTGtWZhYk Message-ID: Subject: Re: "libssl.so.8" not found From: Warner Losh To: Ronald Klop Cc: Russell Haley , Matthias Apitz , freebsd-arm , FreeBSD Current Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2015 13:03:27 -0000 On Mon, Dec 14, 2015 at 2:21 AM, Ronald Klop wrote: > On Mon, 14 Dec 2015 10:11:35 +0100, Ronald Klop > wrote: > > On Mon, 14 Dec 2015 08:18:40 +0100, Matthias Apitz >> wrote: >> >> El d=C3=ADa Sunday, December 13, 2015 a las 10:40:22PM -0800, Russell Ha= ley >>> escribi=C3=B3: >>> >>> Hi There, >>>> >>>> I am trying to bring up an Arm image off the FreeBSD website for my >>>> hummingboard. The problem seems to be when I run pkg the system instal= ls >>>> the latest version - 1.6.2, and then fails with: >>>> >>>> Shared object "libssl.so.8" not found, required by "pkg" >>>> >>>> I've seen this in NextBSD, and DesktopBSD and even on my previous arm >>>> image >>>> but I was able to get around the problem by creating links from >>>> libssl.so.7 >>>> to libssl.so.8. >>>> >>> >>> I have had the same issue on r285885 with ports as well from July this >>> year and pkg 1.5.5 ... I accidently updated pkg to 1.6.x which could no= t >>> find libssl.so.8; I forced back to 1.5.5 with an older pkg-static and >>> now pkg >>> complains about it database, but still works: >>> >>> $ pkg info pkg >>> pkg: warning: database version 32 is newer than libpkg(3) version 31, >>> but still compatible >>> pkg-1.5.5 >>> >>> I don't know why pkg 1.6.2 was produced with this recent libssl.so.8; i= t >>> should have been done more conservative, IMHO >>> >>> matthias >>> >>> >> I had the same problem on my amd64 laptop. Your FreeBSD version is too >> old. Upgrading the FreeBSD base will give you the new libssl version. Af= ter >> that you can upgrade your packages. >> >> What version of FreeBSD is running on this hummingboard? I guess >> 11-CURRENT. Probably ssl was upgraded in FreeBSD and the new packages ar= e >> build on this newer version. In 10-STABLE this is kept backwards >> compatible, but in 11-CURRENT you have to keep up yourself. >> >> Regards, >> >> Ronald. >> > > It has to do with this message in /usr/src/UPDATING: > > > https://svnweb.freebsd.org/base/head/UPDATING?r1=3D290206&r2=3D290207&pat= hrev=3D292177& As a temporary measure, for bootstrapping or installing packages, you can also use libmap.conf to map libssl.so.7 to libssl.so.8. There's a second library that you'll find you need to map too. This will get you over the hump. However, once you do upgrade, you'll need to remove the lines because slogin and suc= h have a check for the right version of openssl, and will give an error message if you try to use them cross-threaded. Warner