<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Shared libraries missing in Debian rootfs?</title>
        <description> I just created new clean rootfs and tried to execute commands as described but some libraries are missing. 


root@debian:~# rm /etc/ssh/ssh_host*
root@debian:~# ssh-keygen -A
ssh-keygen: error while loading shared libraries: libcrypto.so.1.0.2: cannot open shared object file: No such file or directory
root@debian:~# apt-get update
apt-get: error while loading shared libraries: libapt-private.so.0.0: cannot open shared object file: No such file or directory
root@debian:~#  error while loading shared libraries: libapt-private.so.0.0:
</description>
        <link>https://forum.doozan.com/read.php?2,35700,35700#msg-35700</link>
        <lastBuildDate>Wed, 11 Mar 2026 08:05:45 -0500</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forum.doozan.com/read.php?2,35700,35768#msg-35768</guid>
            <title>Re: Shared libraries missing in Debian rootfs?</title>
            <link>https://forum.doozan.com/read.php?2,35700,35768#msg-35768</link>
            <description><![CDATA[ bodhi Wrote:<br />
-------------------------------------------------------<br />
&gt; Thanks feas!<br />
&gt; <br />
&gt; Who said udev is independent? been assimilated by<br />
&gt; the borgs (aka systemd :)))<br />
<br />
<br />
I really hate change just for the sake of changing stuff. This dog is too old to keep learning new tricks.]]></description>
            <dc:creator>feas</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 27 Jul 2017 05:47:26 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,35700,35766#msg-35766</guid>
            <title>Re: Shared libraries missing in Debian rootfs?</title>
            <link>https://forum.doozan.com/read.php?2,35700,35766#msg-35766</link>
            <description><![CDATA[ Thanks feas!<br />
<br />
Who said udev is independent? been assimilated by the borgs (aka systemd :)))]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 27 Jul 2017 05:07:03 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,35700,35761#msg-35761</guid>
            <title>Re: Shared libraries missing in Debian rootfs?</title>
            <link>https://forum.doozan.com/read.php?2,35700,35761#msg-35761</link>
            <description><![CDATA[ PawelW Wrote:<br />
-------------------------------------------------------<br />
<br />
&gt; It seems that interface is renamed to enp1s0 durin<br />
&gt; g boot.<br />
<br />
<br />
This is a new udev thing and will be default by debian 10 and will not support the wlan0,eth0 etc.. naming anymore as I understand it.<br />
<br />
see /usr/share/doc/udev/README.Debian.gz]]></description>
            <dc:creator>feas</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 27 Jul 2017 04:24:08 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,35700,35759#msg-35759</guid>
            <title>Re: Shared libraries missing in Debian rootfs?</title>
            <link>https://forum.doozan.com/read.php?2,35700,35759#msg-35759</link>
            <description><![CDATA[ PawelW,<br />
<br />
&gt; It seems that interface is renamed to enp1s0 durin<br />
&gt; g boot.<br />
<br />
I see. I have not seen this reported before. Might be a new behavior after stretch? It is strange that the r8169  driver would change that drastically.<br />
<br />
However, If your ifconfig show the interface is enp1s0:<br />
<br />
<pre class="bbcode">
ifconfig -a</pre>
<br />
Then the /etc/network/interfaces would need to be adjusted to reflect that.<br />
<br />
<pre class="bbcode">
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
</pre>]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 27 Jul 2017 03:38:52 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,35700,35757#msg-35757</guid>
            <title>Re: Shared libraries missing in Debian rootfs?</title>
            <link>https://forum.doozan.com/read.php?2,35700,35757#msg-35757</link>
            <description><![CDATA[ My FV env:<br />
<pre class="bbcode">
arcNumber=4022
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=3
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-nsa310b-lmsensor-redusbled.dtb
ethact=egiga0
ethaddr=CC:5D:4E:xx:xx:xx
if_netconsole=ping $serverip
ipaddr=192.168.1.200
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb &quot;usb start&quot;;  setenv scan_ide &quot;ide reset&quot;;  setenv scan_mmc &quot;mmc rescan&quot;; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.1.5
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb &quot;usb start&quot;;  setenv init_ide &quot;ide reset&quot;;  setenv init_mmc &quot;mmc rescan&quot;; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15</pre>
<br />
<br />
Boot messages from serial console:<br />
<pre class="bbcode">
[    9.207174] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    9.212839] r8169 0000:01:00.0: enabling device (0140 -&gt; 0143)
<b>[    9.256877] r8169 0000:01:00.0 eth0: RTL8168d/8111d at 0xd0d59000, 00:00:00:00:00:30, XID 083000c0 IRQ 33
[    9.302726] r8169 0000:01:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
<span style="color:#FF0000">[    9.629379] r8169 0000:01:00.0 enp1s0: renamed from eth0</span></b>
Begin: Loading essential drivers ... done.
[   10.132969] scsi 2:0:0:0: Direct-Access     USB      Flash Disk       1100 PQ: 0 ANSI: 4
[   10.147562] sd 2:0:0:0: [sdb] 15974400 512-byte logical blocks: (8.18 GB/7.62 GiB)
[   10.161441] sd 2:0:0:0: [sdb] Write Protect is off
[   10.173064] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn&#039;t support DPO or FUA
[   10.197758]  sdb: sdb1
[   10.207794] sd 2:0:0:0: [sdb] Attached SCSI removable disk
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so skipping root file system
[   19.799405] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Setting hostname to &#039;debian&#039;...done.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[   21.852547] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[ ok                                             done.
[....] Waiting for /dev to be fully populated...[   22.146908] hwmon_vid: Unknown VRM version of your CPU
[   22.167942] lm85 0-002e: Starting monitoring
[   22.178468] orion_wdt: Initial timeout 21 sec
[   22.290625] marvell-cesa f1030000.crypto: CESA device successfully registered
[   22.298078] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   22.300872] sd 2:0:0:0: Attached scsi generic sg1 type 0
done.
[....] Activating swap:[   23.396563] random: crng init done
. ok
[   23.564118] EXT4-fs (sdb1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sdb1
e2fsck 1.43.4 (31-Jan-2017)
rootfs: clean, 14453/499712 files, 235844/1996544 blocks
. ok
[   23.830166] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
<b>[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit <a href="https://www.isc.org/software/dhcp/"  rel="nofollow">https://www.isc.org/software/dhcp/</a>

Cannot find device &quot;eth0&quot;
Failed to get interface index: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.
ifup: failed to bring up eth0
failed.</b>
[   28.783350] NET: Registered protocol family 10
[   28.790430] Segment Routing with IPv6
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox&#039; syslogd implementation : syslogdStarting /sbin/syslogd...
1290 (syslogd)
. ok
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting busybox&#039; klogd implementation : klogdStarting /sbin/klogd...
1289 (klogd)
. ok
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 9 debian ttyS0</pre>
<br />
It seems that interface is renamed to enp1s0 during boot.]]></description>
            <dc:creator>PawelW</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 27 Jul 2017 03:21:51 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,35700,35744#msg-35744</guid>
            <title>Re: Shared libraries missing in Debian rootfs?</title>
            <link>https://forum.doozan.com/read.php?2,35700,35744#msg-35744</link>
            <description><![CDATA[ PawelW Wrote:<br />
-------------------------------------------------------<br />
&gt; It seems that problem was in corrupted file. I hav<br />
&gt; e downloaded it again and now no such errors.<br />
&gt; <br />
&gt; But network interface is not detected in my Zyxel<br />
&gt; NSA 310.<br />
&gt; It has red usb led so I am using kirkwood-nsa310b-<br />
&gt; lmsensor-redusbled.dtb also tried with kirkwood-ns<br />
&gt; a310a.dtb<br />
&gt; <br />
&gt; log:<br />
&gt; Configuring network interfaces (...)<br />
&gt; cannot find device &#039;eth0&#039;<br />
&gt; failed to get interface index: No such device<br />
&gt; ifup: failed to bring up eth0<br />
&gt; <br />
&gt; ifconfig -a list &quot;lo&quot; and &quot;enp1s0&quot;<br />
&gt; ifup enp1s0 gives &quot;unknown interface enp1s0&quot;<br />
<br />
Do you have serial console? if yes, login and then<br />
<pre class="bbcode">
fw_printenv</pre>
<br />
please post the entire log until the after output of fw_printenv <br />
<br />
If you don&#039;t have serial console, post the output of<br />
<pre class="bbcode">
dmesg
fw_printenv
</pre>]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 26 Jul 2017 18:08:33 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,35700,35742#msg-35742</guid>
            <title>Re: Shared libraries missing in Debian rootfs?</title>
            <link>https://forum.doozan.com/read.php?2,35700,35742#msg-35742</link>
            <description><![CDATA[ It seems that problem was in corrupted file. I have downloaded it again and now no such errors.<br />
<br />
But network interface is not detected in my Zyxel NSA 310.<br />
It has red usb led so I am using kirkwood-nsa310b-lmsensor-redusbled.dtb also tried with kirkwood-nsa310a.dtb <br />
<br />
log:<br />
Configuring network interfaces (...)<br />
cannot find device &#039;eth0&#039; <br />
failed to get interface index: No such device<br />
ifup: failed to bring up eth0<br />
<br />
ifconfig -a list &quot;lo&quot; and &quot;enp1s0&quot;<br />
ifup enp1s0 gives &quot;unknown interface enp1s0&quot;]]></description>
            <dc:creator>PawelW</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 26 Jul 2017 16:55:41 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,35700,35705#msg-35705</guid>
            <title>Re: Shared libraries missing in Debian rootfs?</title>
            <link>https://forum.doozan.com/read.php?2,35700,35705#msg-35705</link>
            <description><![CDATA[ What do you see in the output of<br />
<br />
<pre class="bbcode">
ls -l /usr/lib/arm-linux-gnueabi/libcrypto.so.1.0.2
</pre>]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 25 Jul 2017 15:49:06 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,35700,35704#msg-35704</guid>
            <title>Re: Shared libraries missing in Debian rootfs?</title>
            <link>https://forum.doozan.com/read.php?2,35700,35704#msg-35704</link>
            <description><![CDATA[ PawelW,<br />
<br />
<br />
&gt; I just created new clean rootfs and tried to execu<br />
&gt; te commands as described but some libraries are mi<br />
&gt; ssing.<br />
&gt; <br />
&gt; <pre class="bbcode">
&gt; root@debian:~# rm /etc/ssh/ssh_host*
&gt; root@debian:~# ssh-keygen -A
&gt; ssh-keygen: error while loading shared libraries:
&gt; libcrypto.so.1.0.2: cannot open shared object file
&gt; : No such file or directory
&gt; root@debian:~# apt-get update
&gt; apt-get: error while loading shared libraries: lib
&gt; apt-private.so.0.0: cannot open shared object file
&gt; : No such file or directory
&gt; root@debian:~#  error while loading shared librari
&gt; es: libapt-private.so.0.0:
&gt;</pre>
<br />
I did not see this. If you can not do apt-get update, perhaps the rootfs creation was not done successfully or not according to intsruction.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 25 Jul 2017 15:46:39 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,35700,35700#msg-35700</guid>
            <title>Shared libraries missing in Debian rootfs?</title>
            <link>https://forum.doozan.com/read.php?2,35700,35700#msg-35700</link>
            <description><![CDATA[ I just created new clean rootfs and tried to execute commands as described but some libraries are missing. <br />
<br />
<pre class="bbcode">
root@debian:~# rm /etc/ssh/ssh_host*
root@debian:~# ssh-keygen -A
ssh-keygen: error while loading shared libraries: libcrypto.so.1.0.2: cannot open shared object file: No such file or directory
root@debian:~# apt-get update
apt-get: error while loading shared libraries: libapt-private.so.0.0: cannot open shared object file: No such file or directory
root@debian:~#  error while loading shared libraries: libapt-private.so.0.0:
</pre>]]></description>
            <dc:creator>PawelW</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 25 Jul 2017 14:44:22 -0500</pubDate>
        </item>
    </channel>
</rss>
