root@LS-VLF00:~# find / -name miconapl /usr/local/sbin/miconapl root@LS-VLF00:~# ldd /usr/local/sbin/miconapl libbuffalo_bin.so => /usr/local/lib/libbuffalo_bin.so (0x40026000) libc.so.6 => /lib/libc.so.6 (0x40049000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x40178000) /lib/ld-linux.so.3 (0x40000000) root@LS-VLF00:/# ls -l /usr/local/lib/libbuffalo_bin.so lrwxrwxrwx 1 root root 19 Jun 4 2011 /usr/local/lib/libbuffalo_bin.so -> libbuffalo_bin.so.1 root@LS-VLF00:/# ls -l /usr/lib/libgcc_s.so.1 -rwxr-xr-x 1 root root 65824 May 1 2009 /usr/lib/libgcc_s.so.1 root@LS-VLF00:~# cd / root@LS-VLF00:/# tar cvf /mnt/disk1/share/miconlib.tar usr/local/sbin/miconapl usr/local/lib/libbuffalo_bin.so /usr/local/lib/libbuffalo_bin.so.1 usr/lib/libgcc_s.so.1 lib/libc.so.6 lib/ld-linux.so.3 usr/local/lib/libbuffalo_bin.so usr/lib/libgcc_s.so.1 lib/libc.so.6 lib/ld-linux.so.3 |
root@ubuntu1:/media/sdb2# ls usr/local/lib/libbuffalo_bin.so ls: usr/local/lib/libbuffalo_bin.soにアクセスできません: そのようなファイルやディレクトリはありません root@ubuntu1:/media/sdb2# ls usr/lib/libgcc_s.so.1 ls: usr/lib/libgcc_s.so.1にアクセスできません: そのようなファイルやディレクトリはありません root@ubuntu1:/media/sdb2# ls lib/libc.so.6 lib/libc.so.6 root@ubuntu1:/media/sdb2# ls lib/ld-linux.so.3 lib/ld-linux.so.3 |
root@ubuntu1:/media/sdb2# tar xvf ~/miconlib.tar usr/local/sbin/miconapl usr/local/lib/libbuffalo_bin.so usr/local/lib/libbuffalo_bin.so.1 usr/lib/libgcc_s.so.1 usr/local/sbin/miconapl usr/local/lib/libbuffalo_bin.so usr/local/lib/libbuffalo_bin.so.1 usr/lib/libgcc_s.so.1 root@ubuntu1:/media/sdb2# |
Last login: Sat May 2 02:15:57 2037 from 192.168.1.11 [awi@fedora-arm ~]$ su Password: [root@fedora-arm awi]# /usr/local/sbin/miconapl -a boot_end /usr/local/sbin/miconapl: error while loading shared libraries: libbuffalo_bin.so: cannot open shared object file: No such file or directory [root@fedora-arm awi]# vi /etc/ld.so.conf [root@fedora-arm awi]# cat /etc/ld.so.conf #include ld.so.conf.d/*.conf /usr/local/lib /lib /usr/lib [root@fedora-arm awi]# ldconfig [root@fedora-arm awi]# /usr/local/sbin/miconapl -a boot_end [root@fedora-arm awi]# |