Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2015 19:05:45 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        kpneal@pobox.com
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Messages about missing shared libraries...
Message-ID:  <5567AD59.6020509@FreeBSD.org>
In-Reply-To: <20150528235212.GA73173@neutralgood.org>
References:  <20150528040950.GB37243@neutralgood.org> <55674408.8000402@FreeBSD.org> <20150528235212.GA73173@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5567AD59.6020509>