[Date Prev][Date Next] [Chronological] [Thread] [Top]

Q: about "inet_aton" in openldap alpha 2.0



Hello,
    I'm a newbie with openldap.
    I'm installing the openldap alpha 2.0. The evironmant is Solaris 2.6
+ Sun Workshop + Berkeley DB2.7.5.
    I use the following command to configure and make the server:
    %env  ac_cv_func_pthread_create=no ol_cv_kthread_flag=no
ol_cv_pthread_flag=no ol_cv_pthreads_flag=no \
        ol_cv_thread_flag=no CPPFLAGS="-I/usr/local/BerkeleyDB/include"
\
        LDFLAGS="-L/usr/local/BerkeleyDB/lib" ./configure
--with-ldbm-api=db2
    It well done. Then I go to the next step.
    % make depend
    It's OK. But the next step is wrong.
    %make
    The system tell me:

    ild: (warning) ignoring symbol version info due to incompatible
format
    ild: (undefined symbol) inet_aton -- referenced in the text segment
of daemon.o
    *** Error code 5
    make: Fatal error: Command failed for target `slapd'
    Current working directory
/export/home/zj/zj/Software/openldap-2.0-alpha/servers/slapd
    *** Error code 1
    make: Fatal error: Command failed for target `all-local-srv'
    Current working directory
/export/home/zj/zj/Software/openldap-2.0-alpha/servers/slapd
    *** Error code 1
    make: Fatal error: Command failed for target `all-common'
    Current working directory
/export/home/zj/zj/Software/openldap-2.0-alpha/servers/slapd
    *** Error code 1
    make: Fatal error: Command failed for target `all-common'
    Current working directory
/export/home/zj/zj/Software/openldap-2.0-alpha/servers
    *** Error code 1
    make: Fatal error: Command failed for target `all-common'

    I guess this is because the inet_aton is not available. But I have
change the AC_LIBS to
"-lgen -lnsl -lsocket -lresolv" in the ./Makefile ,
./libraries/liblidap/Makefile and
./libraries/libldap_r/Makefile.
    Please help me. Thank you.

Zhang Jun