#2799 unit tests do not link correctly on Debian
Closed: Fixed None Opened 3 years ago by jhrozek.

I broke the unit tests on Debian by extending them, but not linking with ldb, as their libtool is different and build on Fedora succeeds while build on Fedora fails:

/usr/bin/ld: src/providers/test_data_provider_be-data_provider_be.o: undefined reference to symbol 'ldb_msg_find_attr_as_string@@LDB_0.9.10'
//usr/lib/x86_64-linux-gnu/libldb.so.1: error adding symbols: DSO missing from command line

Fields changed

description: I broke the unit tests on Debian by extending them, but not linking with ldb, as their libtool is different and build on Fedora succeeds while build on Fedora fails:
{{{/usr/bin/ld: src/providers/test_data_provider_be-data_provider_be.o: undefined reference to symbol 'ldb_msg_find_attr_as_string@@LDB_0.9.10'
//usr/lib/x86_64-linux-gnu/libldb.so.1: error adding symbols: DSO missing from command line
}}} => I broke the unit tests on Debian by extending them, but not linking with ldb, as their libtool is different and build on Fedora succeeds while build on Fedora fails:
{{{
/usr/bin/ld: src/providers/test_data_provider_be-data_provider_be.o: undefined reference to symbol 'ldb_msg_find_attr_as_string@@LDB_0.9.10'
//usr/lib/x86_64-linux-gnu/libldb.so.1: error adding symbols: DSO missing from command line
}}}
patch: 0 => 1

resolution: => fixed
status: new => closed

Fields changed

rhbz: => 0

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 1.13.1

2 years ago

Login to comment on this ticket.

Metadata