Ad Widget

Collapse

libevent support... configure: error: Unable to use libevent (libevent check failed)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stuart.salter
    Junior Member
    • Feb 2021
    • 7

    #1

    libevent support... configure: error: Unable to use libevent (libevent check failed)

    Hi all, I'm trying to configure the Zabbix 5.2 binaries on Solaris 10, and get the following error:

    checking for libevent support... configure: error: Unable to use libevent (libevent check failed)

    my configure script is as follows:

    ./configure \
    --enable-server \
    --enable-agent \
    --with-mysql=/app/mysql/bin/mysql_config \
    --with-net-snmp \
    --with-libcurl \
    --with-libevent-lib=/opt/csw/lib \
    --with-libevent=/opt/csw/lib \
    --with-libevent-include=/opt/csw/lib \
    --with-libpthread=/lib/sparcv9 \
    --with-libpthread-include=/lib/sparcv9 \
    --with-libpthread-lib=/lib/sparcv9 \
    --prefix=/app/zabbix-5.2

    I've also installed all the libevent packages:

    pkginfo|grep libevent
    application CSWlibevent-core2-0-5 libevent_core2_0_5 - Event notification library 2.0, libevent_core-2.0.so.5
    application CSWlibevent-dev libevent_dev - Development files for libevent*-2.0.so.5
    application CSWlibevent-extra2-0-5 libevent_extra2_0_5 - Event notification library 2.0, libevent_extra-2.0.so.5
    application CSWlibevent-openssl2-0-5 libevent_openssl2_0_5 - Event notification library 2.0, libevent_openssl-2.0.so.5
    application CSWlibevent-pthreads2-0-5 libevent_pthreads2_0_5 - Event notification library 2.0, libevent_pthreads-2.0.so.5
    application CSWlibevent2-0-5 libevent2_0_5 - Event notification library 2.0, libevent-2.0.so.5

    env|grep LD
    LD_LIBRARY_PATH=/opt/csw/lib:/usr/sfw/lib/sparcv9/


    any help would be much appreciated, thanks




Working...