[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ld error in subdir liblber: Unsolved ber_*
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