Re: linking gdbm_compat in rlm_dbm
Damjan wrote: I've noticed that the check that ./configure script does in order to find out if gdbm si used only tries to link with gdbm_compat. The rlm_dbm module is deprecated, and should not be used. All of the functionality is has is now available in the files module. That module was fixed in 2.0 to be very fast. It was fixed in 2.1 to support dynamic reloads. It has been tested with 100,000 entries in the users file, and is sufficiently fast for most purposes. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
linking gdbm_compat in rlm_dbm
I've noticed that the check that ./configure script does in order to find out if gdbm si used only tries to link with gdbm_compat. But the man page of gdbm says: If you wish to use the dbm or ndbm compatibility routines, you must link in the gdbm_compat library as well. For example: gcc -o prog proc.c -lgdbm -lgdbm_compat and indeed on any vanilla system this is the case. Debian, OTOH have patched their libgdbm_compat. -- damjan | дамјан This is my jabber ID -- dam...@bagra.net.mk -- not my mail address, it's a Jabber ID --^ :) - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html