httpとhttpsを使用してSVNコンパイル用にSerfバージョン1.2.1をインストールします。 Red Hat 5マシン

httpとhttpsを使用してSVNコンパイル用にSerfバージョン1.2.1をインストールします。 Red Hat 5マシン

makeこのエラーは、コマンドの実行時に発生します。

/usr/bin/ld: cannot find -lexpat collect2: ld returned 1 exit status make: *** [test/serf_get] Error 1
Other logs:- $ld -lexpat --verbose
attempt to open /usr/x86_64-redhat-linux/lib64/libexpat.so failed
attempt to open /usr/x86_64-redhat-linux/lib64/libexpat.a failed
attempt to open /usr/local/lib64/libexpat.so failed
attempt to open /usr/local/lib64/libexpat.a failed
attempt to open /lib64/libexpat.so failed
attempt to open /lib64/libexpat.a fai`enter code here`led
attempt to open /usr/lib64/libexpat.so failed
attempt to open /usr/lib64/libexpat.a failed
attempt to open /usr/x86_64-redhat-linux/lib/libexpat.so failed
attempt to open /usr/x86_64-redhat-linux/lib/libexpat.a failed
attempt to open /usr/lib64/libexpat.so failed
attempt to open /usr/lib64/libexpat.a failed
attempt to open /usr/local/lib/libexpat.so failed
attempt to open /usr/local/lib/libexpat.a failed
attempt to open /lib/libexpat.so failed
attempt to open /lib/libexpat.a failed
attempt to open /usr/lib/libexpat.so failed
attempt to open /usr/lib/libexpat.a failed
ld: cannot find -lexpat

ベストアンサー1

以下をインストールする必要がありますexpat-devel

yum install expat-devel

これにより、ビルドで探しているライブラリが提供されます。

おすすめ記事