[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

errors with make



Hi,
I'm installing openldap-2.0.1. but when I try to make I have the following
error:

/usr/bin/ld: bfd assertion fail ../../bfd/elflink.h:2342
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [slapd] Error 1
make[2]: Leaving directory `/home/redes/openldap-2.0.11/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/home/redes/openldap-2.0.11/servers'
make: *** [all-common] Error 1

the output at the config.log show:
configure:3687: checking for be_app in -lbe
configure:3706: gcc -o
conftest -g -O2 -I/usr/local/BerkeleyDB.3.0/include -I/usr/local/ssl/include
 -L/usr/loca
l/BerkeleyDB.3.0/lib -L/usr/local/ssl/lib conftest.c -lbe -lroot -lnet  1>&5
/usr/bin/ld: cannot find -lbe
collect2: ld returned 1 exit status
configure: failed program was:
#line 3695 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
....
configure:3863: checking for afopen in -ls
configure:3882: gcc -o
conftest -g -O2 -I/usr/local/BerkeleyDB.3.0/include -I/usr/local/ssl/include
 -L/usr/loca
l/BerkeleyDB.3.0/lib -L/usr/local/ssl/lib conftest.c -ls   1>&5
/usr/bin/ld: cannot find -ls
collect2: ld returned 1 exit status
configure: failed program was:
#line 3871 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
....

Thanks




Reply to: