[LEDE-DEV] build problem of e2fsprogs (libext2fs)

e9hack e9hack at gmail.com
Fri Feb 10 23:56:48 PST 2017


Hi,

libext2fs has a build problem. If anything is compiled newly after a make distclean or after deleting the folders bin,
build_dir, staging_dir and tmp, libext2fs contains a reference to libc with the full path of the build system. If I
execute fsck.ext4 on the router:

root at WLAN-DSL8:~# fsck.ext4
Error loading shared library
/home/hb/src/openwrt/LEDE/archer-C7/staging_dir/target-mips_74kc_musl/root-ar71xx/lib/libc.so: No such file or directory
(needed by /usr/lib/libext2fs.so.2)

If I generate the directory and a symbolic link to the correct location of libc.so, fsck.ext4 can be execute. Afterwards
I do a 'make clean; make' for package e2fsprogs only and copy libext2fs.so.2.4 to the router. Now fcsk.ext4 can be
execute. The size of the not working version of libext2fs.so.2.4 is 257168 bytes and size of the correct version is
272916 bytes.

I build LEDE for a TP-Link Archer C7 router (ar71xx platform).

Any idea what goes wrong?

Regards,
Hartmut



More information about the Lede-dev mailing list