[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#737588: libc6: Missing a static /etc/ld.so.conf makes life difficult for multiarch users



Control: reassign -1 libc6 2.17-97

On Ma, 04 feb 14, 14:09:05, Paul Harvey wrote:
> Source: libc6
> Version: 2.17-97
> Severity: important
> 
> Dear Maintainer,
> 
> I have embarked on a journey to use multistrap to build a debian rootfs for an
> armel target from an amd64 host.
> 
> Having completed this step:
> 
> sudo multistrap -a armel -d EmDebian/ -f emdebian.conf
> 
> I then try to:
> 
> sudo chroot EmDebian/
> 
> But was getting this error:
> 
> chroot: cannot run command `/bin/bash': No such file or directory
> 
> After attempting all the normal work-arounds for this problem, and a little IRC
> discussion with wookey on oftc.net in #emdebian, we discovered I was missing
> $CHROOTDIR/etc/ld.so.conf.
> 
> Copying this file from my host's /etc/ld.so.conf - which contained only
> "include /etc/ld.so.conf.d/*.conf" into the chroot directory - fixed the
> problem.
> 
> It seems that ld.so.conf is generated in the postinst script. Is this
> necessary?
> 
> We can't run postinst scripts until we chroot in and do dpkg --configure -a,
> but dpkg won't work until we chroot in and do dpkg --configure -a...
> 
> For now, I'll need to:
> echo 'include /etc/ld.so.conf.d/*.conf' >> $CHROOTDIR/etc/ld.so.conf
> 
> before I can chroot into $CHROOTDIR.
> 
> 
> 
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers testing
>   APT policy: (899, 'testing'), (500, 'testing-updates'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: armel
> 
> Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash

-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt

Attachment: signature.asc
Description: Digital signature


Reply to: