初心者もOK! FreeBSD質問スレッド その98
レス数が900を超えています。1000を超えると表示できなくなるよ。
0910名無しさん@お腹いっぱい。
2008/12/23(火) 14:59:08# wireshark & とすると
# /libexec/ld-elf.so.1: /usr/local/lib/libhx509.so.2: Undefined symbol "oid_id_pkcs1_rsaEncryption"
[1] Exit 1 wireshark
って怒られて、こけるので、
# nm libhx509.so.2 | grep oid_id_pcs1_rsa したら、
U oid_id_pkcs1_rsaEncryption って、U になっていたので、
# find . -type f -exec grep "oid_id_pkcs1_rsaEncryption" /dev/null {} \; で探したら、
Binary file ./compat/pkg/libasn1.so.8 matches
Binary file ./libhx509.a matches
Binary file ./libkdc.so.2 matches
Binary file ./libkdc.a matches
Binary file ./libasn1.so.8 matches
Binary file ./libasn1.a matches
Binary file ./libhx509.so.2 matches ・・・これだけ出たので、それぞれ nm してみたところ。
# nm libasn1.so.8 | grep oid_id_pkcs1_rsa
000190c0 T oid_id_pkcs1_rsaEncryption
000700f8 d oid_id_pkcs1_rsaEncryption_variable
000700dc d oid_id_pkcs1_rsaEncryption_variable_num
ここに、実体が有る様ですが、
# ldd /usr/local/bin/wireshark | grep libasn1
libasn1.so.8 => /usr/lib/libasn1.so.8 (0x2a5f8000)
って、ちゃんとリンクされてる模様なんですが、
どうしてエラーになるのか、いまいち良く分かりません。
何かヒントでもよいので、識者の方よろしくお願い致します。
レス数が900を超えています。1000を超えると表示できなくなるよ。