[SSSD] memberof.la error after make install

Jakub Hrozek jhrozek at redhat.com
Tue Apr 23 13:49:21 UTC 2013


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&old_version=6



More information about the sssd-devel mailing list