Messages about missing shared libraries...

Bryan Drewery bdrewery at FreeBSD.org
Thu May 28 16:36:20 UTC 2015


On 5/27/2015 11:09 PM, kpneal at 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=	yes
> 
> # The former replaces the latter
> OPTIONS_UNSET=X11
> WITHOUT_X11=yes
> 
> 
> Now, when I install from /usr/ports (I can never keep the terms straight)
> I see during the installation phase messages like this:
> 
> ===>   Registering installation for poudriere-3.1.6
> (poudriere-3.1.6) /usr/ports/ports-mgmt/poudriere/work/stage//usr/local/libexec/poudriere/cpdup - required shared library libmd.so.5 not found
> (poudriere-3.1.6) /usr/ports/ports-mgmt/poudriere/work/stage//usr/local/libexec/poudriere/cpdup - required shared library libc.so.7 not found
> 
> But ldd shows that the executables _can_ find the libraries. 

Try running this inside of the chroot:

service ldconfig start

Then check if the warnings happen still.

> 
> So, what's the deal with the missing library messages? Are they harmless
> or do I need to do something like reinstall software? I can do that if
> needed no sweat. 
> 
> The output of "pkg -v" is "1.5.2" since I didn't bootstrap it until today.
> 
> I'm currently running this kernel:
> FreeBSD gunsight1.neutralgood.org 9.3-RELEASE-p14 FreeBSD 9.3-RELEASE-p14 #0 r283551: Tue May 26 13:08:20 EDT 2015     kpn@    amd64
> 
> But the userland for the system is unpatched 9.3. I'm trying to get a
> fully patched 9.3-p14 together. But I'm running pkg in a chroot with
> the new -p14 userland. 
> 
> I apologize if this is something simple. I've never gotten to use ZFS
> to build brand new installations from scratch before. I've probably
> missed something somewhere.
> 
> And thanks for any help!
> 


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150528/55a6050b/attachment.sig>


More information about the freebsd-ports mailing list