1.9.4 and 1.10 alpha on openSUSE 12.3
After a successful build, the following appears upon starting sssd: db: unable to dlopen /usr/lib/ldb/memberof.la : /usr/lib/ldb/memberof.la: invalid ELF header
I removed the file and all was well. Do we need it? Cheers, Steve
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 04/23/2013 08:23 AM, steve wrote:
1.9.4 and 1.10 alpha on openSUSE 12.3
After a successful build, the following appears upon starting sssd: db: unable to dlopen /usr/lib/ldb/memberof.la : /usr/lib/ldb/memberof.la: invalid ELF header
I removed the file and all was well. Do we need it? Cheers, Steve
No, the .la file is a libtool archive and is a relic of how we generate the module. You can (and should) delete it after make install (if you look at the contrib/sssd.spec.in file, you'll note that we find and remove all .la files.
They are only necessary for enabling 'make uninstall' to work properly, but if you are packaging an RPM or DEB file, this would be handled by the packaging tools.
Also, it's worth noting that the message you see above is a noisy warning and that the SSSD should continue to function anyway.
We should probably update https://fedorahosted.org/sssd/wiki/DevelTutorials to recommend removing the libtool archives, though.
On Tue, Apr 23, 2013 at 08:33:42AM -0400, Stephen Gallagher wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 04/23/2013 08:23 AM, steve wrote:
1.9.4 and 1.10 alpha on openSUSE 12.3
After a successful build, the following appears upon starting sssd: db: unable to dlopen /usr/lib/ldb/memberof.la : /usr/lib/ldb/memberof.la: invalid ELF header
I removed the file and all was well. Do we need it? Cheers, Steve
No, the .la file is a libtool archive and is a relic of how we generate the module. You can (and should) delete it after make install (if you look at the contrib/sssd.spec.in file, you'll note that we find and remove all .la files.
They are only necessary for enabling 'make uninstall' to work properly, but if you are packaging an RPM or DEB file, this would be handled by the packaging tools.
Also, it's worth noting that the message you see above is a noisy warning and that the SSSD should continue to function anyway.
We should probably update https://fedorahosted.org/sssd/wiki/DevelTutorials to recommend removing the libtool archives, though.
I used your explanation to amend the DevelTips page: https://fedorahosted.org/sssd/wiki/DevelTips?action=diff&version=7&o...
On Tue, Apr 23, 2013 at 02:23:43PM +0200, steve wrote:
1.9.4 and 1.10 alpha on openSUSE 12.3
After a successful build, the following appears upon starting sssd: db: unable to dlopen /usr/lib/ldb/memberof.la : /usr/lib/ldb/memberof.la: invalid ELF header
I removed the file and all was well. Do we need it? Cheers, Steve
It's safe to ignore the warning and/or remove the file. .la stands for "libtool archive". Some more details can be found here: https://www.gnu.org/software/libtool/manual/html_node/Linking-libraries.html
We actually remove the .la file when creating RPMs.
sssd-devel@lists.fedorahosted.org