Showing posts with label make delete-old-libs. Show all posts
Showing posts with label make delete-old-libs. Show all posts

Wednesday, December 16, 2009

FreeBSD: cd /usr/src && make delete-old

ของเก่า ไม่ใช่ว่าจะดีเสมอไป
อันที่ล้าสมัยก็มีมากcommands
อันที่ยังใช้ได้ดี ราคาถูก ก็ยังมีอยู่มาก

แฟ้มเก่า ห้องสมุดเก่า น่าจะดูว่าดี

แต่กับ FreeBSD แล้ว บางครั้ง จำใจต้องลบทิ้ง

# cd /usr/src
# make check-old

อันนี้ ตรวจดูว่า อันไหนบ้าง ที่ จำใจตัดทิ้งไป

# cd /usr/src
# make delete-old
# make delete-old-libs

อันนี้ ลบทิ้งทั้งแฟ้มเก่า และ libraries เก่า ออกจากระบบ

บางครั้ง บางคราว คนเราก็หลงๆลืมๆ จนกลายเป็นเรื่องเสียหายได้ ก็ในคราวที่ยกระดับระบบมาเป็น 8.0 นั่นแหละ ถือโอกาสปรับจีโนม มาให้เป็น 2.28 ด้วยเลย
มันมาติดแหง็กอยู่ตรงนี้ หลายต่อหลายเที่ยว อันอื่นได้หมด มีตัวนี้ตัวเดียว ยก หรือ เลื่อนวิทยฐานะกับเขาไม่ได้ sound-juicer เหตุก็ดูเอาจากข้างล่างนี้เลย

gmake[3]: Entering directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.28.1/libjuicer'
CXX libjuicer_la-dummy.lo
CC libjuicer_la-sj-metadata-marshal.lo
CC libjuicer_la-sj-structures.lo
CC libjuicer_la-sj-error.lo
CC libjuicer_la-sj-extractor.lo
CC libjuicer_la-sj-metadata.lo
CC libjuicer_la-sj-metadata-gvfs.lo
CC libjuicer_la-sj-metadata-getter.lo
CC libjuicer_la-sj-util.lo
CC libjuicer_la-sj-metadata-musicbrainz.lo
CC libjuicer_la-sj-metadata-musicbrainz3.lo
CC libjuicer_la-sj-metadata-cdtext.lo
CXXLD libjuicer.la
gmake[3]: Leaving directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.28.1/libjuicer'
gmake[2]: Leaving directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.28.1/libjuicer'
Making all in src
gmake[2]: Entering directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.28.1/src'
CXX sound_juicer-dummy.o
CC sound_juicer-sj-main.o
CC sound_juicer-sj-prefs.o
CC sound_juicer-sj-play.o
CC sound_juicer-sj-about.o
CC sound_juicer-sj-extracting.o
CC sound_juicer-sj-inhibit.o
CC sound_juicer-sj-genres.o
CC sound_juicer-gedit-message-area.o
CC sound_juicer-gconf-bridge.o
CC sound_juicer-egg-play-preview.o
CC sound_juicer-bacon-message-connection.o
CXXLD sound-juicer
/usr/bin/ld: warning: libssl.so.5, needed by /usr/local/lib/libneon.so, may conflict with libssl.so.6
/usr/bin/ld: warning: libz.so.4, needed by /usr/local/lib/libneon.so, may conflict with libz.so.5
/usr/bin/ld: warning: libgssapi.so.9, needed by /usr/local/lib/libneon.so, may conflict with libgssapi.so.10
/usr/bin/ld: warning: libkrb5.so.9, needed by /usr/local/lib/libneon.so, may conflict with libkrb5.so.10
/usr/bin/ld: warning: libasn1.so.9, needed by /usr/local/lib/libneon.so, may conflict with libasn1.so.10
/usr/bin/ld: warning: libcrypto.so.5, needed by /usr/local/lib/libneon.so, may conflict with libcrypto.so.6
/usr/bin/ld: warning: libroken.so.9, needed by /usr/local/lib/libneon.so, may conflict with libroken.so.10
/usr/bin/ld: warning: libcrypt.so.4, needed by /usr/local/lib/libneon.so, may conflict with libcrypt.so.5
/usr/bin/ld: warning: libcom_err.so.4, needed by /usr/local/lib/libneon.so, may conflict with libcom_err.so.5
/usr/bin/ld: warning: librpcsvc.so.4, needed by /usr/local/lib/libXrandr.so, may conflict with librpcsvc.so.5
/usr/lib/libkrb5.so: undefined reference to `hx509_certs_init'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_serialnumber'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_find_subjectAltName_otherName'
/usr/lib/libkrb5.so: undefined reference to `hx509_certs_find'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_attach_anchors'
/usr/lib/libkrb5.so: undefined reference to `hx509_query_alloc'
/usr/lib/libkrb5.so: undefined reference to `hx509_get_error_string'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_unenvelope'
/usr/lib/libkrb5.so: undefined reference to `hx509_lock_add_password'
/usr/lib/libkrb5.so: undefined reference to `hx509_revoke_init'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_hostname'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_unwrap_ContentInfo'
/usr/lib/libkrb5.so: undefined reference to `hx509_prompt_hidden'
/usr/lib/libkrb5.so: undefined reference to `hx509_name_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_check_eku'
/usr/lib/libkrb5.so: undefined reference to `hx509_name_binary'
/usr/lib/libkrb5.so: undefined reference to `hx509_certs_append'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_destroy_ctx'
/usr/lib/libkrb5.so: undefined reference to `hx509_name_to_Name'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_wrap_ContentInfo'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_issuer'
/usr/lib/libkrb5.so: undefined reference to `hx509_free_octet_string_list'
/usr/lib/libkrb5.so: undefined reference to `hx509_certs_iter'
/usr/lib/libkrb5.so: undefined reference to `hx509_revoke_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_subject'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_attach_revoke'
/usr/lib/libkrb5.so: undefined reference to `hx509_get_one_cert'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_init_ctx'
/usr/lib/libkrb5.so: undefined reference to `hx509_revoke_add_crl'
/usr/lib/libkrb5.so: undefined reference to `hx509_context_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_create_signed_1'
/usr/lib/libkrb5.so: undefined reference to `hx509_name_is_null_p'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_verify_signed'
/usr/lib/libkrb5.so: undefined reference to `hx509_lock_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_context_set_missing_revoke'
/usr/lib/libkrb5.so: undefined reference to `hx509_query_match_option'
/usr/lib/libkrb5.so: undefined reference to `hx509_query_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_lock_init'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_set_proxy_certificate'
/usr/lib/libkrb5.so: undefined reference to `hx509_certs_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_context_init'
/usr/lib/libkrb5.so: undefined reference to `hx509_lock_set_prompter'
/usr/lib/libkrb5.so: undefined reference to `hx509_crypto_available'
gmake[2]: *** [sound-juicer] Error 1
gmake[2]: Leaving directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.28.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.28.1'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/audio/sound-juicer.
maifa# exit
exit


มันทำให้เฉลียวใจคิดได้ว่า น่าจะมี ของเก่า ที่มีปัญหาค้างอยู่ในระบบแน่ๆเลย และ ก็นั่นแหละ ใช้วิธีดังที่บอกไว้ข้างบนนั้น จัดการเอา

View My Stats