From owner-freebsd-ports@FreeBSD.ORG Fri May 29 00:05:41 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1A21F2CA for ; Fri, 29 May 2015 00:05:41 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EE97E15A0 for ; Fri, 29 May 2015 00:05:40 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id t4T05edh027025 for ; Fri, 29 May 2015 00:05:40 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id t4T05epU027024 for freebsd-ports@freebsd.org; Fri, 29 May 2015 00:05:40 GMT (envelope-from bdrewery) Received: (qmail 39296 invoked from network); 28 May 2015 19:05:38 -0500 Received: from unknown (HELO ?10.10.1.139?) (freebsd@shatow.net@10.10.1.139) by sweb.xzibition.com with ESMTPA; 28 May 2015 19:05:38 -0500 Message-ID: <5567AD59.6020509@FreeBSD.org> Date: Thu, 28 May 2015 19:05:45 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: kpneal@pobox.com CC: freebsd-ports@freebsd.org Subject: Re: Messages about missing shared libraries... References: <20150528040950.GB37243@neutralgood.org> <55674408.8000402@FreeBSD.org> <20150528235212.GA73173@neutralgood.org> In-Reply-To: <20150528235212.GA73173@neutralgood.org> OpenPGP: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6E49ERhwrh4u3PHqwT7EGaLApgPeB2rgw" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 00:05:41 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --6E49ERhwrh4u3PHqwT7EGaLApgPeB2rgw Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 5/28/2015 6:52 PM, kpneal@pobox.com wrote: > On Thu, May 28, 2015 at 11:36:24AM -0500, Bryan Drewery wrote: >> On 5/27/2015 11:09 PM, kpneal@pobox.com wrote: >>> So, I'm installing a bunch of stuff in a chrooted staging area built >>> from source. I've got pkg bootstrapped and my /etc/make.conf looks >>> like this: >>> >>> WITH_PKGNG=3D yes >>> >>> # The former replaces the latter >>> OPTIONS_UNSET=3DX11 >>> WITHOUT_X11=3Dyes >>> >>> >>> Now, when I install from /usr/ports (I can never keep the terms strai= ght) >>> I see during the installation phase messages like this: >>> >>> =3D=3D=3D> Registering installation for poudriere-3.1.6 >>> (poudriere-3.1.6) /usr/ports/ports-mgmt/poudriere/work/stage//usr/loc= al/libexec/poudriere/cpdup - required shared library libmd.so.5 not found= >>> (poudriere-3.1.6) /usr/ports/ports-mgmt/poudriere/work/stage//usr/loc= al/libexec/poudriere/cpdup - required shared library libc.so.7 not found >>> >>> But ldd shows that the executables _can_ find the libraries.=20 >> >> Try running this inside of the chroot: >> >> service ldconfig start >> >> Then check if the warnings happen still. >=20 > That seems to have fixed it. Thanks! >=20 > Now, do I need to rebuild ports that were built before and gave the war= ning > message? I don't know if pkg was the one requesting the info or not. >=20 No, just tell pkg to rescan for needed shared libraries. 'pkg check -Ba'.= --=20 Regards, Bryan Drewery --6E49ERhwrh4u3PHqwT7EGaLApgPeB2rgw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJVZ61ZAAoJEDXXcbtuRpfPODwIAJubL0xTYtAXd/MaorpVY5Wk oM7rh/aM+3RWuBMopnxWGls41N7rM0OS4LStIhk/GsOTLl2XxeieD5Lz2v/DW//X qH8v/0MV4OZJVJgJ/I4L7nEHypGsjgF046BxuP0d/zpDiQXidxXivd11Zu4wvDnA KXmafH1JvnA85tzdsPj80PlujkyuSmTUAyBBvXlzgnjhuZl7TnP03doPDcPKM2x1 r6vSrU+1iUJpsEVeqFxyfAImNx6Uiw7thjJVq3DAjJ3PzZqO8bUE2RHxDa8S+pH3 dvZGFlDz/DJd7EmGmNF5/+TfWfhz2iFbO16T9lJid15V+eRjuz64n+wPhGxv4PE= =sM4s -----END PGP SIGNATURE----- --6E49ERhwrh4u3PHqwT7EGaLApgPeB2rgw--