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

Re: openldap on Linux/alpha (ITS#295)



On 19/09/99 at 05:33:24 +0000, Kurt@OpenLDAP.org spoke thus :

Greetings Kurt et al,

> >db_appinit(3) ERRORS
> >EINVAL:	The DB_THREAD flag was specified and spinlocks are not implemented for this architecture.
> >
> >No spinlocks under Linux/alpha?
> 
> Looks like BerkeleyDB does not support GCC spinlocks under
> Linux/alpha (or other non-x86 architectures).

This is not specific to Linux - if you are using Digital Unix 4.x
on an Alpha (as we are) then you also have the problem with spinlocks.
This appears to be what is also causing me problems with installing any
version of OpenLDAP since DB2 became mandatory.

> Unless you want to write a little assembler code (or modify ldbm.c
> to support non-DB_THREAD BerkeleyDB2 use), you'll have to use
> GDBM (--with-ldbm-api=gdbm).
> 

I will try this and see if this works for us.
Thanks.

Regards,

Andrew Kemp

-- 
Unix,WWW,Proxy,News,DNS,LDAP,... Administrator	Phone	: 61 +3 9214-8252
Information Technology Services			Fax	: 61 +3 9214-8944
Swinburne University of Technology		E-Mail: andrew@swin.EDU.AU
Hawthorn, Victoria, Australia 3122 	URL: http://opax.swin.edu.au/andrew