Ad Widget

Collapse

Static compilation with option --with-ldap

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jean
    Member
    • Apr 2006
    • 85

    #1

    Static compilation with option --with-ldap

    Hi,

    I could not compile Zabbix 1.5.2 with the ldap option in ./configure and static mode :

    ./configure --with-ldap --with-net-snmp --with-mysql --enable-agent --enable-server --enable-static --prefix=/usr/local/zabbix/
    These errors appear in config.log :
    /usr/lib/libcurl.a(ldap.o): In function `Curl_ldap': warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
    /usr/lib/libcurl.a(netrc.o): In function `Curl_parsenetrc': warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
    And when I want to make a "make install", the process abort with these :
    collect2: ld returned 1 exit status
    make[2]: *** [zabbix_agent] Error 1
    make[2]: Leaving directory `/home/jean/Temp/zabbix-1.5.2/src/zabbix_agent'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/home/jean/Temp/zabbix-1.5.2/src'
    make: *** [install-recursive] Error 1
    If I compile without the static option, the make install work...

    I need the static option to install easly the zabbix server in all my zabbix servers...

    Help please...
Working...