diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2015-09-29 09:02:51 +0200 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2015-09-30 07:33:33 +0200 |
commit | 73ec8fdfddb2d4bf99977f758eec80e1b1ee8542 (patch) | |
tree | 857f50d738996d819cde123bd42d403bd41f8c9d /src/tests/sysdb-tests.c | |
parent | afdc0179af0ad8ddbedd67422193ef02dcd2bf84 (diff) | |
download | sssd-73ec8fdfddb2d4bf99977f758eec80e1b1ee8542.tar.gz sssd-73ec8fdfddb2d4bf99977f758eec80e1b1ee8542.tar.xz sssd-73ec8fdfddb2d4bf99977f758eec80e1b1ee8542.zip |
BUILD: Link test_data_provider_be with -ldl
The module data_provider_be.o uses uncfion dlsym and
thus need to be linked with -ldl.
/usr/bin/ld: src/providers/test_data_provider_be-data_provider_be.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
/usr/lib64/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:10461: recipe for target 'test_data_provider_be' failed
It was not a problem when sssd was compiled with NSS because it contains -ldl
among its flags.
NSS_LIBS='-lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl '
However the compilation failed when sssd was compiled with libcrypto
Reviewed-by: Michal Židek <mzidek@redhat.com>
Diffstat (limited to 'src/tests/sysdb-tests.c')
0 files changed, 0 insertions, 0 deletions