[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Compilation errror Tru64 4.0F: Unsolved ber_*
Dear LDAP
I still get the following errors - i have dowloaded and ported BerlyDB as
sggested by Anita.
Rgds
Henrik
============================================================================
==
Berkly DB
============================================================================
==
# cat newdb
# New download
PATH=$PATH:/usr/local/bin
export PATH
########################
# Berkly DB
########################
# Options: -c (continue), -N (download only if newer), --retr-symlinks
(follow links)
#dir=3.1.17
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
=================================================================
The following show the LDAP error:
=================================================================
rm -fr .libs/liblber.la .libs/liblber.* .libs/liblber.*
/usr/bin/ld -shared -expect_unresolved \* assert.o decode.o encode.o io.o
bprint.o memory.o options.o sockbuf.o version.o
-L/mfs/openldap-2.0.7/libraries -lc -msym -soname liblber.so `test -n
"2.0.5:2.0" && echo -set_version 2.0.5:2.0` -update_registry
.libs/so_locations -o .libs/liblber.so.2.0.5
(cd .libs && rm -f liblber.so && ln -s liblber.so.2.0.5 liblber.so)
(cd .libs && rm -f liblber.so && ln -s liblber.so.2.0.5 liblber.so)
ar cru .libs/liblber.a assert.o decode.o encode.o io.o bprint.o memory.o
options.o sockbuf.o version.o
ranlib .libs/liblber.a
creating liblber.la
(cd .libs && rm -f liblber.la && ln -s ../liblber.la liblber.la)
rm -f ../liblber.la
d=`pwd`; d=`basename $d`; cd ..; ln -s $d/liblber.la liblber.la;
t=`basename liblber.la .la`.a; rm -f $t; ln -s $d/.libs/$t $t
if test "no" = "yes"; then d=`pwd`; d=`basename $d`; b=`basename liblber.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 -g -I../../include -I../../include -c dtest.c
/bin/sh /mfs/openldap-2.0.7/libtool --mode=link cc -g -I../../include
-I../../include -L/mfs/openldap-2.0.7/libraries -o dtest dtest.o
-llber
cc -g -I../../include -I../../include -L/mfs/openldap-2.0.7/libraries -o
dtest dtest.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.
#
# cd libraries
# pwd
/mfs/openldap-2.0.7/libraries
============================================================================
==
Old letter
============================================================================
==
Dear LDAP's
I get Compilation errror Tru64 4.0F: Unsolved ber_*
Rgds
Henrik
----------------------------------------------------------------------------
--------
I run:
----------------------------------------------------------------------------
------
PATH=$PATH:/usr/local/bin
export PATH
release=openldap-release
# Options: -c (continue), -N (download only if newer), --retr-symlinks
(follow links)
/usr/local/bin/wget -cN --retr-symlinks
ftp://ftp.openldap.org/pub/OpenLDAP/$release.tgz
gunzip -c $release.tgz | tar xfv -
release=`gunzip -c $release.tgz | tar tf - | sed '1q' | cut -d'/' -f1`
cd $release
ls -l
./configure
make depend
make
----------------------------------------------------------------------------
--------
Tail of output:
----------------------------------------------------------------------------
--------
rm -f ../liblber.la
d=`pwd`; d=`basename $d`; cd ..; ln -s $d/liblber.la liblber.la;
t=`basename liblber.la .la`.a; rm -f $t; ln -s $d/.libs/$t $t
if test "no" = "yes"; then d=`pwd`; d=`basename $d`; b=`basename liblber.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 -g -I../../include -I../../include -c dtest.c
/bin/sh /mfs/openldap-2.0.7/libtool --mode=link cc -g -I../../include
-I../../include -L/mfs/openldap-2.0.7/libraries -o dtest dtest.o
-llber
cc -g -I../../include -I../../include -L/mfs/openldap-2.0.7/libraries -o
dtest dtest.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.