LDAP performance checker

Arran Cudbard-Bell a.cudbardb at freeradius.org
Mon Sep 22 15:44:19 CEST 2014

On 22 Sep 2014, at 08:02, Sven Hartge <sven at svenhartge.de> wrote:

> On 22.09.2014 03:42, Arran Cudbard-Bell wrote:
>>> /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../lib64/libldap.so: undefined reference to symbol 'ber_free'
>>> /usr/bin/ld: note: 'ber_free' is defined in DSO /lib64/liblber-2.4.so.2
>>> so try adding it to the linker command line
>>> /lib64/liblber-2.4.so.2: could not read symbols: Invalid operation
>>> collect2: error: ld returned 1 exit status
>>> make: *** [ldapperf] Error 1
>> You don't have libldap or its development headers installed.
> They are installed or the build would have failed much earlier.
> The bug is inside the Makefile. You need to add "-llber" to the gcc
> command, because you need to explicitly link to all needed libraries.

Hm, ok, we've never had to do that with the server, and we use BER 
symbols in the edir stuff. Oh well...

The other issues were that apparently some RFC 1823 functions have
been marked as deprecated by libldap, so for newer versions of the
library #define LDAP_DEPRECATED 1 is required.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140922/bf5318bb/attachment-0001.pgp>

More information about the Freeradius-Users mailing list