Modify

Opened 2 years ago

Last modified 2 years ago

#21962 new defect

libext2fs.so looking the wrong path.

Reported by: gendouhydeist Owned by: developers
Priority: normal Milestone: Designated Driver (Trunk)
Component: base system Version: Trunk
Keywords: lib Cc:

Description

root@OpenWrt:~# mkfs.ext4 -h
Error loading shared library /home/xxxx/openwrt/openwrt/staging_dir/target-mips_24kc_musl-1.1.14/root-ar71xx/lib/libc.so: No such file or directory (needed by /usr/lib/libext2fs.so.2)
root@OpenWrt:~# ls /lib/
ar71xx.sh functions/ libc.so libsetlbf.so libuci.so netifd/ upgrade/
config/ ld-musl-mips-sf.so.1 libfstools.so libsw.so libvalidate.so network/ wifi/
firmware/ libblkid-tiny.so libgcc_s.so.1 libubox.so modules/ preinit/
functions.sh libblobmsg_json.so libjson_script.so libubus.so mwan3/ uboot-envtools.sh

Attachments (1)

e2fsprogs.txt (436.9 KB) - added by gendouhydeist 2 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 2 years ago by gendouhydeist

Error loading shared library /home/xxxx/openwrt/openwrt/staging_dir/target-mips_24kc_musl-1.1.14/root-ar71xx/lib/libc.so: No such file or directory (needed by /usr/lib/libext2fs.so.2)
root@OpenWrt:~# ls /lib/
ar71xx.sh             libfstools.so         modules
config                libgcc_s.so.1         mwan3
firmware              libjson_script.so     netifd
functions             libsetlbf.so          network
functions.sh          libsw.so              preinit
ld-musl-mips-sf.so.1  libubox.so            uboot-envtools.sh
libblkid-tiny.so      libubus.so            upgrade
libblobmsg_json.so    libuci.so             wifi
libc.so               libvalidate.so

comment:2 Changed 2 years ago by jow

How did you build it? What OpenWrt release? Did you install e2fsprogs via opkg or did you scp the libarary file?

comment:3 Changed 2 years ago by gendouhydeist

I'm building it using buildroot DD latest git. I don't know why it's looking for my build environment.

Linux xxxx-virtual-machine 4.2.0-30-generic 36-Ubuntu SMP Fri Feb 26 00:58:07 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Last edited 2 years ago by gendouhydeist (previous) (diff)

comment:4 Changed 2 years ago by jow

Please see if the behavior persists after a "make defconfig; make package/e2fsprogs/clean; make"

comment:5 Changed 2 years ago by gendouhydeist

tried what you suggested, still I got same result.

comment:6 Changed 2 years ago by jow

Then please modify package/utils/e2fsprogs/Makefile and add a change like this:

  • package/utils/e2fsprogs/Makefile

    a b CONFIGURE_VARS += \ 
    111111       ac_cv_lib_pthread_sem_init=no 
    112112 
    113113CONFIGURE_ARGS += \ 
     114       --enable-verbose-makecmds \ 
    114115       --disable-testio-debug \ 
    115116       --enable-elf-shlibs     \ 
    116117       --disable-libuuid       \ 

The attach the complete log of a make package/e2fsprogs/{clean,compile} V=s run.

Changed 2 years ago by gendouhydeist

comment:7 Changed 2 years ago by gendouhydeist

kindly check attach file thanks.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.