LDAP performance checker

Sven Hartge sven at svenhartge.de
Mon Sep 22 14:02:59 CEST 2014


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.

Grüße,
Sven.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140922/5fcba427/attachment.pgp>


More information about the Freeradius-Users mailing list