[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Pleeease provide Tru64 info
I have built and run OpenLDAP Release Engineering (OPENLDAP_REL_ENG_2)
on 4.0F and 5.1. Try adding -oldstyle_liblookup to LDFLAGS and re-run
configure. (OPENLDAP_REL_ENG_2 is pretty close to 2.0.7). I'm not
sure if this will fix your problem, but it's the only thing I'm doing
differently.
Randy
PS: For quite some time, I've been unable to build the head branch on
OSF/Tru64. It's some kind of problem with the prototype macro `__'
not being triggered correctly. So far, I have not figured out why.
> Dear LDAP
>
> I am still stuck with compiling LDAP for Tru64 UNIX 4.0F - has anybody had
> success.
>
> Rgds
>
> Henrik
>
>
> PS. Old letters:
> ----------------------------------------------------------------------------
> ---------------------------------------
>
> I now ge strange things:
>
> I do make and get as mailed before, I then do "make" and "make" again - then
> I get a listed below.
>
> Rgds from a bevildered admin
>
> Henrik
>
> (cd .libs && rm -f libldap.so && ln -s libldap.so.2.0.5 libldap.so)
> (cd .libs && rm -f libldap.so && ln -s libldap.so.2.0.5 libldap.so)
> ar cru .libs/libldap.a bind.o open.o result.o error.o compare.o search.o
> controls.o messages.o references.o extended.o cyrus.o modify.o add.o
> modrdn.o delete.o abandon.o ufn.o cache.o getfilter.o sasl.o sbind.o kbind.o
> unbind.o friendly.o free.o disptmpl.o srchpref.o dsparse.o tmplout.o sort.o
> getdn.o getentry.o getattr.o getvalues.o addentry.o request.o os-ip.o url.o
> sortctrl.o vlvctrl.o init.o options.o print.o string.o util-int.o schema.o
> charray.o tls.o dn.o os-local.o dnssrv.o utf-8.o version.o
> ranlib .libs/libldap.a
> creating libldap.la
> (cd .libs && rm -f libldap.la && ln -s ../libldap.la libldap.la)
> rm -f ../libldap.la
> d=`pwd`; d=`basename $d`; cd ..; ln -s $d/libldap.la libldap.la;
> t=`basename libldap.la .la`.a; rm -f $t; ln -s $d/.libs/$t $t
> if test "no" = "yes"; then d=`pwd`; d=`basename $d`; b=`basename libldap.la
> .la`; cd .libs; t=`echo $b*.so`; (cd ../.. ; rm -f $t; ln -s $d/.libs/$t
> $t); if test "so" != dll; then t=`echo $b.so.?`; cd ../.. ; rm -f $t; ln
> -s $d/.libs/$t $t; fi fi
> cc -pthread -I../../include -I../../include -c apitest.c
> /bin/sh /mfs/openldap-2.0.7/libtool --mode=link cc -pthread -I../../include
> -I../../include -L/mfs/openldap-2.0.7/libraries -o apitest apitest.o
> -lldap -llber -llutil
> cc -pthread -I../../include -I../../include -L/mfs/openldap-2.0.7/libraries
> -o apitest apitest.o -lldap -llber -llutil
> ld:
> Unresolved:
> ldap_get_option
> ldap_memfree
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
>
>
>
>
>
>
> ----------------------------------------------------------------------------
> --------------------
>
> Dear LDAP
>
> I still get the following errors (this time I put in the stuff from
> "Platform Hints").
>
> I use Berkly DB 2.7.7 as sugested in "Chosing Berkly DB" documentation.
>
> Rgds
>
> Henrik
>
>
> ============================================================================
> ==
> OpenLDAP
> ============================================================================
> ==
>
> release=openldap-release
> /usr/local/bin/wget -cN --retr-symlinks
> ftp://ftp.openldap.org/pub/OpenLDAP/$release.tgz
> gunzip -c $release.tgz | tar xf -
>
> release=`gunzip -c $release.tgz | tar tf - | sed '1q' | cut -d'/' -f1`
> cd $release
>
> CC=cc CFLAGS=-pthread ./configure
> make depend
> make
>
>
> =================================================================
> The following show the LDAP error:
> =================================================================
> Entering subdirectory liblber
> cc -pthread -I../../include -I../../include -c etest.c
> /bin/sh /mfs/openldap-2.0.7/libtool --mode=link cc -pthread -I../../include
> -I../../include -L/mfs/openldap-2.0.7/libraries -o etest etest.o
> -llber
> cc -pthread -I../../include -I../../include -L/mfs/openldap-2.0.7/libraries
> -o etest etest.o -llber
> ld:
> Unresolved:
> ber_set_option
> ber_sockbuf_alloc
> ber_sockbuf_free
> ber_sockbuf_add_io
> ber_sockbuf_io_fd
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
> #
>
> ============================================================================
> ==
> Berkly DB
> ============================================================================
> ==
>
> PATH=$PATH:/usr/local/bin
> export PATH
>
> ########################
> # Berkly DB
> ########################
>
> # Options: -c (continue), -N (download only if newer), --retr-symlinks
> (follow links)
> # OpenLDAP uses 2.7.x the series
> dir=2.7.7
> release=db-$dir
> /usr/local/bin/wget -cN --retr-symlinks
> http://www.sleepycat.com/update/$dir/$release.tar.gz
> gunzip -c $release.tar.gz | tar xfv -
>
> cd $release/build_unix
> ../dist/configure
> make
> make install
>
>