pgbouncerをインストールできません

pgbouncerをインストールできません

RHEL 7.4のソースからpgbouncerをインストールしようとしています。私はフォローしていますこのチュートリアル

実行すると、./configure --prefix=/usr/local/ --with-libevent=/usr/lib64次のエラーが発生します。

checking for libevent... configure: error: not found, cannot proceed

しかしrpm -qa|grep libevent走る

libevent-2.0.21-4.el7.x86_64

そしてll /usr/lib64 |grep libevent与えられた

lrwxrwxrwx. 1 root root 21 Aug 28 2017 libevent-2.0.so.5 -> libevent-2.0.so.5.1.9 -rwxr-xr-x. 1 root root 297816 Jan 26 2014 libevent-2.0.so.5.1.9 lrwxrwxrwx. 1 root root 26 Aug 28 2017 libevent_core-2.0.so.5 -> libevent_core-2.0.so.5.1.9 -rwxr-xr-x. 1 root root 179800 Jan 26 2014 libevent_core-2.0.so.5.1.9 lrwxrwxrwx. 1 root root 27 Aug 28 2017 libevent_extra-2.0.so.5 -> libevent_extra-2.0.so.5.1.9 -rwxr-xr-x. 1 root root 133864 Jan 26 2014 libevent_extra-2.0.so.5.1.9 lrwxrwxrwx. 1 root root 29 Aug 28 2017 libevent_openssl-2.0.so.5 -> libevent_openssl-2.0.so.5.1.9 -rwxr-xr-x. 1 root root 24464 Jan 26 2014 libevent_openssl-2.0.so.5.1.9 lrwxrwxrwx. 1 root root 30 Aug 28 2017 libevent_pthreads-2.0.so.5 -> libevent_pthreads-2.0.so.5.1.9 -rwxr-xr-x. 1 root root 11200 Jan 26 2014 libevent_pthreads-2.0.so.5.1.9

何が問題なのかわかりません。

ベストアンサー1

libevent...設定を確認中:エラー:見つかりません

libevent-2.0.21-4.el7.x86_64:

それはただのランタイムファイルです。 libeventでアプリケーションをコンパイルするために必要なファイルがありません→# yum install libevent-devel

供給/usr/{lib64/[libs].so, /include/{files.h, event/files.h, event2/files.h}}

おすすめ記事