uuu@hhhhh:cd /lib/i386-linux-gnu uuu@hhhhh:sudo ln -sf libudev.so.1 libudev.so.0 |
uuu@hhhhh:/usr/local/lpcxpresso_7.1.1_125/lpcxpresso/bin$ ./dfu-util --help ./dfu-util: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory |
uuu@hhhh:/usr/local/lpcxpresso_7.1.1_125/lpcxpresso/bin$ sudo apt-get install libusb-0.1-4:i386 Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libusb-0.1-4:i386 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. |
uuu@hhhhh:/usr/local/lpcxpresso_7.1.1_125/lpcxpresso/bin$ ./dfu-util -l dfu-util - (C) 2007-2008 by OpenMoko Inc. This program is Free Software and has ABSOLUTELY NO WARRANTY Found Runtime: [0x0471:0xdf55] devnum=24, cfg=0, intf=0, alt=0, name="UNDEFINED" |
sudo apt-get install libudev0 libudev0:i386 |
apt-cache search libxxx |
apt-get install libudev1:i386 |
/usr/local/lpcxpresso_7.0.0_92/debian /usr/local/lpcxpresso_7.0.0_92/debian/libc6_2.15-0ubuntu20_i386 drwxr-xr-x 2 root root 4.0K Mar 4 16:44 DEBIAN drwxr-xr-x 3 root root 4.0K Mar 4 16:44 etc drwxr-xr-x 3 root root 4.0K Mar 4 16:44 lib drwxr-xr-x 4 root root 4.0K Mar 4 16:44 usr |
strace sh redlinkserv |
execve("./redlinkserv", ["./redlinkserv"], [/* 21 vars */]) = -1 ENOEXEC (Exec format error) dup(2) = 3 fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f44740ab000 lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, "strace: exec: Exec format error\n", 32strace: exec: Exec format error ) = 32 close(3) = 0 munmap(0x7f44740ab000, 4096) = 0 exit_group(1) = ? |
sudo apt-get install libgtk2.0-0:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libidn11:i386 libglu1-mesa:i386 libxtst6:i386 |
dpkg-deb -x libc6_2.15-0ubuntu20_i386.deb /usr/local/lpcxpresso_7.0.0_92/debian/libc6_2.15-0ubuntu20_i386 |
wget h_t_t_p://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.15-0ubuntu20_i386.deb |
LPCXPRESSO_ROOT_DIR=/usr/local/lpcxpresso_7.0.0_92 LPCXPRESSO_BIN_DIR="${LPCXPRESSO_ROOT_DIR}/lpcxpresso/bin" GLIBC_DIR="${LPCXPRESSO_ROOT_DIR}/debian/libc6_2.15-0ubuntu20_i386/lib/i386-linux-gnu" export LD_LIBRARY_PATH="${LPCXPRESSO_BIN_DIR}:${GLIBC_DIR}:${LD_LIBRARY_PATH}" exec "${LPCXPRESSO_BIN_DIR}"/redlinkserv.real |