#2799 unit tests do not link correctly on Debian
Closed: Fixed None Opened 4 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

3 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/3840

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata