[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: bdb problems on redhat 9



you need an update of libtool !
I think I needed to install/compile from rawhide, it was libtool-1.5-5 if i remember well ...


Heikki Paajanen wrote:

Hi,

Thanks for tip!

I tried to build the build the source rpm but it failed with some
libtool problem. Did you manage to compile it with out any
modifications?

Regards,
	Hessu


.
.
.
../../../build/mkversion -v "2.1.22" liblber.la > version.c
/usr/bin/libtool --tag=CC --mode=compile cc -I/usr/kerberos/include -I/usr/src/redhat/BUILD/openldap-2.1.22/db-instroot/include -O2 -g -pipe
-march=i386 -mcpu=i686 -D_REENTRANT -fPIC -I../../include
-I../../../include -I/usr/kerberos/include -I/usr/src/redhat/BUILD/openldap-2.1.22/db-instroot/include -DLBER_LIBRARY -c ../../../libraries/liblber/assert.c
libtool: unrecognized option `--tag=CC'
Try `libtool --help' for more information.
make[2]: *** [assert.lo] Error 1
make[2]: Leaving directory
`/usr/src/redhat/BUILD/openldap-2.1.22/build-servers/libraries/liblber'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/openldap-2.1.22/build-servers/libraries'
make: *** [all-common] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.46107 (%build)



RPM build errors: Bad exit status from /var/tmp/rpm-tmp.46107 (%build)




On Fri, 2003-08-01 at 14:13, Jehan PROCACCIA wrote:


the data directory is defined in you slapd.conf !
for me it is in /var/lib/ldap/int, I manually created sub-dir int, but you can stay with /var/lib/ldap. ownership on the directory database must also be to the ldap user .


Redhat finally released an up to date rpm for openldap 2.1.22 :-)
However it's from rawhide, you just need to get the source and recompile on RH 9. If you prefer that one, I also compiled it, i can put RH 9 rpm binaries from the rawhide source rpm on my site if you wish ...