Open Ldap 2.1.22 compile woes on 5.1a

From: Greg Rudd (g.rudd_at_isu.usyd.edu.au)
Date: 08/22/03

  • Next message: Piotr Grzybowski: "SUMMARY::in the middle of a crash. (please please help)"
    Date: Fri, 22 Aug 2003 13:12:54 +1000
    To: tru64-unix-managers@ornl.gov
    
    

    Hi all

    Has anyone come accross the following problem when trying to compile
    openldap-2.1.22 on 5.1a PK5 and has anyone found a way out

      Entering subdirectory libldap
    cc -pthread -arch host -I../../include -I../../include
    -I/usr/local/BerkeleyDB.4.1/include -I/usr/local/ssl/include
    -I/usr/local/ssl/include/openssl -I/usr/local/include -c dntest.c
    /bin/sh /home/sysadmin/greg/openldap-2.1.22/libtool --mode=link cc -static
    -pthread -arch host -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.1/lib
    -L/usr/local/lib -o dntest dntest.o libldap.la
    ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a
    -lssl -lcrypto
    cc -pthread -arch host -o dntest dntest.o -L/usr/local/ssl/lib
    -L/usr/local/BerkeleyDB.4.1/lib -L/usr/local/lib ./.libs/libldap.a
    /home/sysadmin/greg/openldap-2.1.22/libraries/liblber/.libs/liblber.a
    ../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a
    -lssl -lcrypto
    ld:
    Unresolved:
    AC_GAI_STRERROR
    *** Exit 1
    Stop.
    *** Exit 1
    Stop.
    *** Exit 1
    Stop.

    I was thinking that this is this some compatability issue between BerkleyDB
    and OPEN LDAP which in BerkleyDBs case uses the standard POSIX thread library
    and OPEN LDAP which casuses the linker to bomb out

    Configure options used --with-wrapers --without-threads
    Compiler used Compaq CC
    CFLAGS USED -pthread -arch host
    LDFAGS USED -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.1/lib
    -L/usr/local/lib
    CPPFLAGS USED -I/usr/local/BerkeleyDB.4.1/include -I/usr/local/ssl/include
    -I/usr/local/ssl/openssl/include -I/usr/local/include

    Note both GCC and Compaq CC were used with both giving the same results even
    when PTH thread libraries are compiled in

    Thanks in advance.

    -greg

    -- 
    Greg Rudd
    Computer Systems Officer
    Information Technology Services
    University Of Sydney
    PH: +61 2 9351 5531
    Fax +61 2 0351 6004
    email: grudd@mail.usyd.edu.au
    -------------------------------------------------
    /"\  ASCII Ribbon Campaign against HTML
    \ /  email 
    X   
    / \
    -------------------------------------------------
    For more info on why you should not send html in email go to
    http://www.american.edu/cas/econ/htmlmail.htm
    

  • Next message: Piotr Grzybowski: "SUMMARY::in the middle of a crash. (please please help)"
  • Quantcast