libxml2.6.20
いつの間にかリリースされていたようなのでアップグレードしてみました。するとエラーになりました。
gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xmllint xmllint.o ./.libs/libxml2.so -ldl -L/usr/local/zlib/lib -L/usr/local/iconv/lib -lz /usr/local/iconv-1.9.2/lib/libiconv.so -lm -Wl,--rpath -Wl,/usr/local/libxml2-2.6.20/lib -Wl,--rpath -Wl,/usr/local/iconv-1.9.2/lib ./.libs/libxml2.so: undefined reference to `pthread_getspecific' ./.libs/libxml2.so: undefined reference to `pthread_once' ./.libs/libxml2.so: undefined reference to `pthread_key_create' ./.libs/libxml2.so: undefined reference to `pthread_setspecific' collect2: ld returned 1 exit status make[2]: *** [xmllint] エラー 1 make[2]: 出ます ディレクトリ `/usr/local/src/libxml2-2.6.20' make[1]: *** [all-recursive] エラー 1 make[1]: 出ます ディレクトリ `/usr/local/src/libxml2-2.6.20' make: *** [all] エラー 2 (最初の7行は実質1行です)
とりあえず「--without-threads」で逃げ。libxml2.6.19だとエラー出ないのに。。。
なんか日本語メッセージが微妙なので「$LANG」の設定変えようかな。
zlibも1.2.3がリリースされていたので(ついでに)アップグレードしときました。