戻る

cleaning

&&& のものは configure して make と make install したもの

### のものは script から Makefile を 作成 make test して make install したもの

 1 &&& /usr/local/bin/libpng-config
 2 &&& /usr/local/bin/libpng12-config
 3 &&& /usr/local/include/libpng12/png.h
 4 &&& /usr/local/include/libpng12/pngconf.h
 5 &&& /usr/local/include/png.h
 6 &&& /usr/local/include/pngconf.h
 7 &&& /usr/local/lib/libpng.a
 8 &&& /usr/local/lib/libpng.la
 9 &&& /usr/local/lib/libpng.so
10 &&& /usr/local/lib/libpng.so.3
11 &&& /usr/local/lib/libpng.so.3.33.0
12 &&& /usr/local/lib/libpng12.a
13 &&& /usr/local/lib/libpng12.la
14 &&& /usr/local/lib/libpng12.so
15 &&& /usr/local/lib/libpng12.so.0
16 &&& /usr/local/lib/libpng12.so.0.33.0
17 &&& /usr/local/lib/pkgconfig/libpng.pc
18 &&& /usr/local/lib/pkgconfig/libpng12.pc
19 &&& /usr/local/share/man/man3/libpng.3
20 &&& /usr/local/share/man/man3/libpngpf.3
21 &&& /usr/local/share/man/man5/png.5
 1 ### /usr/local/bin/libpng-config
 2 ### /usr/local/bin/libpng12-config
 3 ### /usr/local/include/libpng
 4 ### /usr/local/include/libpng12/png.h
 5 ### /usr/local/include/libpng12/pngconf.h
 6 ### /usr/local/include/png.h
 7 ### /usr/local/include/pngconf.h
 8 ### /usr/local/lib/libpng.a
 9 ### /usr/local/lib/libpng.so
10 ### /usr/local/lib/libpng.so.3
11 ### /usr/local/lib/libpng.so.3.1.2.33
12 ### /usr/local/lib/libpng12.a
13 ### /usr/local/lib/libpng12.so
14 ### /usr/local/lib/libpng12.so.0
15 ### /usr/local/lib/libpng12.so.0.1.2.33
16 ### /usr/local/lib/pkgconfig/libpng.pc
17 ### /usr/local/lib/pkgconfig/libpng12.pc
18 ### /usr/local/man/man3/libpng.3
19 ### /usr/local/man/man3/libpngpf.3
20 ### /usr/local/man/man5/png.5

比較して行くと

libpng-config

 1 &&& /usr/local/bin/libpng-config
 1 ### /usr/local/bin/libpng-config
lrwxrwxrwx     15 Nov 10 10:54 /usr/local/bin/libpng-config -> libpng12-config*

libpng12-config

 2 &&& /usr/local/bin/libpng12-config
 2 ### /usr/local/bin/libpng12-config
-rwxr-xr-x   2169 Nov  9 16:46 /usr/local/bin/libpng12-config*

png.h

 3 &&& /usr/local/include/libpng12/png.h
 4 ### /usr/local/include/libpng12/png.h
-rw-r--r-- 150278 Nov  9 16:46 /usr/local/include/libpng12/png.h

libpng

 3 ### /usr/local/include/libpng
lrwxrwxrwx  8 Nov 10 10:54 /usr/local/include/libpng -> libpng12/

pngconf.h

 4 &&& /usr/local/include/libpng12/pngconf.h
 5 ### /usr/local/include/libpng12/pngconf.h
-rw-r--r-- 44695 Nov  9 16:46 /usr/local/include/libpng12/pngconf.h

png.h

 5 &&& /usr/local/include/png.h
 6 ### /usr/local/include/png.h
# ls -l /usr/local/include/png.h
lrwxrwxrwx    14 Nov 10 10:54 /usr/local/include/png.h -> libpng12/png.h

pngconf.h

 6 &&& /usr/local/include/pngconf.h
 7 ### /usr/local/include/pngconf.h
lrwxrwxrwx   18 Nov 10 10:54 /usr/local/include/pngconf.h -> libpng12/pngconf.h

libpng.a

 7 &&& /usr/local/lib/libpng.a
 8 ### /usr/local/lib/libpng.a
lrwxrwxrwx    10 Nov 10 10:54 /usr/local/lib/libpng.a -> libpng12.a

libpng.la

 8 &&& /usr/local/lib/libpng.la
lrwxrwxrwx    11 Nov  9 15:20 /usr/local/lib/libpng.la -> libpng12.la*

libpng.so

 9 &&& /usr/local/lib/libpng.so
 9 ### /usr/local/lib/libpng.so
lrwxrwxrwx   11 Nov 10 10:54 /usr/local/lib/libpng.so -> libpng.so.3*

libpng.so.3

10 &&& /usr/local/lib/libpng.so.3
10 ### /usr/local/lib/libpng.so.3
lrwxrwxrwx   16 Nov 10 10:54 /usr/local/lib/libpng.so.3 -> libpng.so.3.33.0*

libpng.so.3.33.0

11 &&& /usr/local/lib/libpng.so.3.33.0
-rwxr-xr-x    533163 Nov  9 15:20 /usr/local/lib/libpng.so.3.33.0*

libpng.so.3.1.2.33

11 ### /usr/local/lib/libpng.so.3.1.2.33
-rwxr-xr-x    216110 Nov  9 16:46 /usr/local/lib/libpng.so.3.1.2.33*

libpng12.a

12 &&& /usr/local/lib/libpng12.a
12 ### /usr/local/lib/libpng12.a
# ls -l /usr/local/lib/libpng12.a
-rw-r--r-- 230686 Nov  9 16:46 /usr/local/lib/libpng12.a

libpng12.la

13 &&& /usr/local/lib/libpng12.la
-rwxr-xr-x    956 Nov  9 15:20 /usr/local/lib/libpng12.la*

libpng12.so

14 &&& /usr/local/lib/libpng12.so
13 ### /usr/local/lib/libpng12.so 
lrwxrwxrwx    13 Nov 10 10:54 /usr/local/lib/libpng12.so -> libpng12.so.0*

libpng12.so.0

15 &&& /usr/local/lib/libpng12.so.0
14 ### /usr/local/lib/libpng12.so.0
lrwxrwxrwx  18 Nov 10 10:54 /usr/local/lib/libpng12.so.0 -> libpng12.so.0.33.0*

libpng12.so.0.33.0

16 &&& /usr/local/lib/libpng12.so.0.33.0
-rwxr-xr-x    521027 Nov  9 15:20 /usr/local/lib/libpng12.so.0.33.0*

libpng12.so.0.33.0

15 ### /usr/local/lib/libpng12.so.0.1.2.33
-rwxr-xr-x    216110 Nov  9 16:46 /usr/local/lib/libpng12.so.0.1.2.33*

libpng.pc

17 &&& /usr/local/lib/pkgconfig/libpng.pc
16 ### /usr/local/lib/pkgconfig/libpng.pc
lrwxrwxrwx  11 Nov 10 10:54 /usr/local/lib/pkgconfig/libpng.pc -> libpng12.pc

libpng12.pc

18 &&& /usr/local/lib/pkgconfig/libpng12.pc
17 ### /usr/local/lib/pkgconfig/libpng12.pc
-rw-r--r--   229 Nov  9 16:46 /usr/local/lib/pkgconfig/libpng12.pc

libpng.3

位置が違うが 内容は同じ ディスクに 余裕があるので削除はしない

19 &&& /usr/local/share/man/man3/libpng.3


18 ### /usr/local/man/man3/libpng.3

# ls -l /usr/local/share/man/man3/libpng.3
-rw-r--r--    167161 Nov  9 15:20 /usr/local/share/man/man3/libpng.3
# ls -l /usr/local/man/man3/libpng.3
-rw-r--r--    167161 Nov  9 16:46 /usr/local/man/man3/libpng.3


# diff -s /usr/local/share/man/man3/libpng.3 /usr/local/man/man3/libpng.3
Files /usr/local/share/man/man3/libpng.3 and /usr/local/man/man3/libpng.3 are identical

libpngpf.3

位置が違うが 内容は同じ ディスクに 余裕があるので削除はしない

20 &&& /usr/local/share/man/man3/libpngpf.3

19 ### /usr/local/man/man3/libpngpf.3

# ls -l /usr/local/share/man/man3/libpngpf.3
-rw-r--r--    17749 Nov  9 15:20 /usr/local/share/man/man3/libpngpf.3
-rw-r--r--    17749 Nov  9 16:46 /usr/local/man/man3/libpngpf.3

# diff -s /usr/local/share/man/man3/libpngpf.3 /usr/local/man/man3/libpngpf.3
Files /usr/local/share/man/man3/libpngpf.3 and /usr/local/man/man3/libpngpf.3 are identical

png.5

位置が違うが 内容は同じ ディスクに 余裕があるので削除はしない

21 &&& /usr/local/share/man/man5/png.5

20 ### /usr/local/man/man5/png.5

# ls -l /usr/local/share/man/man5/png.5
-rw-r--r--    2402 Nov  9 15:20 /usr/local/share/man/man5/png.5
-rw-r--r--    2402 Nov  9 16:46 /usr/local/man/man5/png.5

# diff -s /usr/local/man/man5/png.5 /usr/local/share/man/man5/png.5
Files /usr/local/man/man5/png.5 and /usr/local/share/man/man5/png.5 are identical

隔離してみる

これを 別の所 すなわち削除しても 別に 問題とはならないはずです。試み て見ましょう不都合であれば 元に 戻せます。
/usr/local/lib/libpng.la
/usr/local/lib/libpng.so.3.33.0
/usr/local/lib/libpng12.la
/usr/local/lib/libpng12.so.0.33.0

# pwd
/usr/local/lib
# mkdir data-lib
# mv /usr/local/lib/libpng.la data-libls/
# mv /usr/local/lib/libpng.so.3.33.0 data-libls/
# mv /usr/local/lib/libpng12.la data-libls/
# mv /usr/local/lib/libpng12.so.0.33.0 data-libls/
# ls -l data-libls/ | sed 1d
lrwxrwxrwx    1 root     root           11 Nov  9 15:20 libpng.la -> libpng12.la*
-rwxr-xr-x    1 root     root       533163 Nov  9 15:20 libpng.so.3.33.0*
-rwxr-xr-x    1 root     root          956 Nov  9 15:20 libpng12.la*
-rwxr-xr-x    1 root     root       521027 Nov  9 15:20 libpng12.so.0.33.0*

隔離すると 印刷不可能

# pwd
/usr/local/lib
# cp data-libls/libpng12.so.0.33.0 .

これで ldd しても 印刷できない libpng12.so.0.33.0 を 削除

# pwd
/usr/local/lib
# cp data-libls/libpng.so.3.33.0 .

これで ldd して 印刷は可能に なったが モニター は 英文

隔離中止

# pwd
/usr/local/lib
# mv data-libls/* .
# rmdir data-libls/

再起動確認する 他の計算機に 導入した時に 再度確認しましょう。

というより 両方必要に なるかもしれない!

にゃんたろう 拝!

2008年11月10日 (月) 23:02:48 JST 作成


戻る

Copyright © 2006.-2008. nyantarou All Rights Reserved.